In this video I'll show you how to update and edit Venues from the website with Django and Python.
Updating records in the database is pretty easy with Django, we just need to do a few minor things to set everything up and get it started.
We'll create a page that holds a form that will be pre-populated with the record data for a particular Venue. All you have to do is make your changes to the data and click the Update button, Django will take care of the rest!
Timecodes
0:00 - Introduction
1:25 - Create Update_venue.html Page
2:13 - Create URL For update_venue.html Page
3:10 - Create update_venue View
4:50 - Add Links To Update Individual Venues
7:50 - Add VenueForm To update_view View
10:08 - Add Form to update_view.html Page
11:52 - Automtically Fill Out Form With Venue Info
12:42 - Save Update and Redirect Back To Venue Page
14:20 - Change Update Link To A Button
15:13 - Conclusion
#codemy #django
Смотрите видео Update and Edit Venues - Django Wednesdays #10 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Codemy.com 24 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 37,43 раз и оно понравилось 76 людям.