Django Dependent Drop Down List Example | Integration with Django Forms and Django Form Validations

preview_player
Показать описание
In this video, we are gonna be implementing the dependent drop down list in Django. We will be using a real time example of country-city dependency chain where the city depends upon the selected country. We will integrate everything with Django forms along with form validations. We will also show the problems when it comes to dealing with creating and updating this form and we will also solve them in the tidiest manner possible. Everything is totally integrated with the database and we will show them in the Django admin panel too. With the same Django dependent drop down list logic, you can build more complex dependency chains like country-state-city dependency chain seamlessly. In the front-end, we will use jQuery to make the AJAX request to Django backend.

Subscribe | Code Band

Django Relationships (Foreign Key Reverse Relationships inside the video and article) :

#djangodependentdropdown #django

Other videos in Code Band:

:) You Can Find Me On:
Рекомендации по теме
Комментарии
Автор

You deserve more likes for doing this, Thank you for the effort

thetruereality
Автор

Mate, you're a legend! Was stuck at this for a week, and now I have you!🔥🔥

ankitdedhia
Автор

I don't usually comment on videos, but this was very well done. Super thorough and helped me with several roadblocks!

derekstout
Автор

thanks a lot, I was stumped at how to do this yesterday and today, I did not even watch the video I know it is awesome, and this is the solution I needed. Thank you.

kabakiAntony
Автор

Undoubtedly, there is the best solution in this training, thank you so much.

shahrzadgoudarzi
Автор

you're a legend bro! I Was stuck at this for a week

dhananjaysingh
Автор

Really blessed to get this video. Thanks to this video creator. Well done!

marufkhan
Автор

This video is awsome my friend. I really need like this and this video is perfect for me. Thanks for effort.

prusa
Автор

You're simply amazing dude! Keep up the good work! just subscribed :)

kimjay
Автор

Thanks a lot Man. Graet work. I learned a lot . Keep up the good work

trevormadden
Автор

thanks a lot, you have helped me a lot with some projects, keep up the good work !!!

CoopPlaysYoutuber
Автор

Thank you for the great tutorial and the step by step

zhamza
Автор

i like your teaching style, it would be perfect if you add htmx method

ayubkara
Автор

thankyou for the detailed explaination

rajyadav
Автор

good video mate. thank you very much. dark themes much better for screencasting.

Автор

Hi, I implemented your example in my project and it worked very well.

But now I have a problem, I want to make another dependent list with respect to the city, for example, we already know we have the state and the city, but now I must add a locality.

Try to experiment, but it just doesn't show me anything.

But the truth is that the video is excellent, thank you very much for that help.

cracknynemc
Автор

Thaank you for the video. But i can't understand where did you define the form html syntax. let's suppose weh have already a form set by html, how to edit just dropdownlist ?

adminassistancepfe
Автор

because I have to send the data twice to accept the value, the first time an invalid option appears and the second time it already admits the value

kevingonzalez-ykye
Автор

This is fantastic, helped me a lot, thanks for the tutorial :)

vinrayudu
Автор

Even though the explanation takes a long time for a viewer to understand because of the speed, but I would really appreciate a more detailed video on the requirements that must be available for this feature to work.
But overall, great effort brother.
Thanks for the time and knowledge, it is beneficial in all cases.
Best regards.

ABMA