Event Approval - Django Wednesdays #42

preview_player
Показать описание
In this video I'll show you how set up event approval for our app with Django and Python.

We'll create a new Boolean Field in our Events model that allows us the approve or disapprove an event.

Boolean Fields are True/False. We'll then be able to filter by approval to display events on the site.

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:08 - Add Boolean Field To Events Model
2:43 - Make Database Migration and Migrate
3:31 - Check Admin Section For Approval Field
4:42 - Add Approval To Events On Events Page
5:27 - Filter Website For Approval With If Statement
6:29 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

This is exactly the feature I was hoping to see and needed to learn how to create for an application I am creating! So perfect!

pgallovich
Автор

Love yours Django serie! I'm learning a lot thank to you. Would you ever do a video about how to use progress bar or to check step when the user do something to display their progress?

carlomieli
Автор

Your way of teaching is excellent. Can you please make a video on chatting between venue owners and users to get more information about venue and also different users interaction on the same page.

Mahesh_Kasthuri
Автор

I did this also the same way based on your reply on another video

kodeypatterson
Автор

Please Teacher, .I am setting up the base for a django project, I have cloned a repo and I have just created a virtual environment for the project in the same directory. But when I try to run the command pip install -r requirements.txt in the project directory I get this error:

[Errno 2] No such file or directory: 'requirements.txt'

SKULLTg
Автор

Hello
Thanks a lot for this series.
Can you give me the source code please

darkmew