Create An Add Event Page - Django Wednesdays #11

preview_player
Показать описание
In this video we'll create an "add event" page for our club app.

Creating an add event page will give us a few problems because to add an event, we need to understand date formatting, and we need drop down menus for venues, managers, and attendees...which will require some different coding than we've seen before.

#django #codemy
Рекомендации по теме
Комментарии
Автор

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

Codemycom
Автор

Thank you so much!!! Learned a lot and glad to have you back, congrats for 60K subscribers
Btw, shift + alt + up arrow key = switch two lines, a very handy and useful shortcut

sachinsinghal
Автор

question: When using 'Select' or 'SelectMultiple' how does the program know which options to give to which input, like give the user to select multiple possible attendees on the attendees section and likewise for selecting a manager, but not doing it the wrong way round, e.g. giving user attendees options on manager selection or manager option on attendees selection. Does it map them to the fields attributes when creating the form class?

infinitespace
Автор

Is there a way to add a placeholder value to the select widget?

Epicjosean
Автор

Are you still planning to add a date picker to the add event page? Thanks!

briangreenberg
Автор

Question: I am following your videos in sequence and so making the app, can I put that code on my GitHub repo as 'public' and your video link as source in that...

Naman-se
Автор

i have one question:
Should we learn bootstrap codes, like is it good to copy paste ?

yahyaa
Автор

Hi John. Thanks for the great content.

I have a question.:
If you have 100 venues, it's going to get cumbersome to scroll through the dropdown list to choose the specific one you want.
Is it possible to have a field that you can type and then the dropdown list only shows the available items containing the text you typed?
TLTR: Filter the dropdown list?

I hope the question is clear. I would really appreciate your feedback on this since I've been struggling and searching for a couple of days now.

SilverFox-gfpd
Автор

Hello John, I was very happy to find this channel to discover Python and Django!
I hope you can help me to resolve an issue on chapter "add-event". when I submitmy form, I have an issue with this message:
Exception Value: The view events.views.add_event didn't return an HttpResponse object. It returned None instead.
Do you have an idea about what's happen please ?
Thanks a lot.

MegaLeFred
Автор

Hi Jhon, thanks for all of your videos. I have a question. This form works for add an Event that already exist but if I want to create a new Event choice (not from admin page), should I create a new form? how can I deal with it? Thanks!

panndit
Автор

Assalamu Alaiku, I am Bangladeshi, it is very cold in Bangladesh at the moment, good luck for the winter ... my ad event page is not submitted even though all my code is correct.

mycode
Автор

You should really adopt multi line editing - cmd + d or ctrl + d in windows i think. Would've made this video 3 minutes shorter lol

aviskirakosyan
Автор

idk why but the data from de forms iisn't being saved in the database, and dont even gives me an error so i cant not see what i am doing wrong....solved jajajajaj i wass adding the data time with a wrong dude such a sily mistake jajajja

eduardsanchez