Update and Edit Venues - Django Wednesdays #10

Update and Edit Venues - Django Wednesdays #10

39.232 Lượt nghe
Update and Edit Venues - Django Wednesdays #10
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