Building Web Apps Using Django: Generic Views
Django 2.2
| Intermediate
- 14 Videos | 1h 44m 50s
- Includes Assessment
- Earns a Badge
Explore various Django class-based generic views, which help to simplify the tasks of viewing, creating, editing, and deleting instances of Django models, in this 14-video course. Django is a widely used web framework written in the Python language. You will begin with a two-part tutorial on updating forms in a Django app: part 1 on defining forms and a view function, and part 2 on configuring update forms. Then explore how to use the built-in generic views: ListView to list instances of a model in your Django project; DetailView; CreateView; UpdateView, and also DeleteView. Discover how to configure permissions for the DeleteView; generate an archive of your Django model instances using the ArchiveIndexView; and create an archive of Django model instances, categorized by year, using the YearArchiveView. A two-part tutorial on applying finishing touches concludes the course: part 1 on defining an "About Us" page for your Django application, and part 2 on setting a customized 404 error page for your Django website.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursedefine forms and a view function to enable users of your Django web site to update model instancesconfigure update forms so that users can submit the new data for model instances in a POST requestuse the built-in generic ListView to list instances of a model in your Django projectdisplay all details of a Django model instance using the built-in DetailView viewenable the creation of new instances of your Django model by implementing a CreateView viewallow users to update instances of your Django model by means of an UpdateView view
-
use the built-in DeleteView view to allow users to delete instances of your Django modelset permissions for users to delete instances of your Django model and define the redirect URL for a successful deletegenerate an archive of your Django model instances using the ArchiveIndexView viewcreate an archive of your Django model instances, categorized by year, using the YearArchiveView viewdefine an "About Us" page for your Django applicationset a customized 404 error page for your Django web sitediscover the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 51sUP NEXT
-
2.Update Forms in a Django App - Part 18m 12s
-
3.Update Forms in a Django App - Part 28m 15s
-
4.The ListView in Django8m 52s
-
5.The DetailView in Django9m 23s
-
6.Django's CreateView8m 55s
-
7.Django's UpdateView9m 10s
-
8.Django's DeleteView9m 33s
-
9.Configuring Permissions for the DeleteView7m 21s
-
10.Django's ArchiveIndexView6m 9s
-
11.Django's YearArchiveView7m 17s
-
12.Applying Finishing Touches - Part 19m 30s
-
13.Applying Finishing Touches - Part 29m 24s
-
14.Course Summary57s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.