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
-
1m 51s
-
8m 12sIn this video, you will learn how to define forms and a view function to enable users of your Django web site to update model instances. FREE ACCESS
-
8m 15sIn this video, find out how to configure update forms so that users can submit new data for model instances in a POST request. FREE ACCESS
-
8m 52sIn this video, you will learn how to use the built-in generic ListView to list instances of a model in your Django project. FREE ACCESS
-
9m 23sLearn how to display all details of a Django model instance using the built-in DetailView. FREE ACCESS
-
8m 55sIn this video, learn how to enable the creation of new instances of your Django model by implementing a CreateView. FREE ACCESS
-
9m 10sFind out how to allow users to update instances of your Django model by means of an UpdateView. FREE ACCESS
-
9m 33sIn this video, find out how to use the built-in DeleteView view to allow users to delete instances of your Django model. FREE ACCESS
-
7m 21sIn this video, learn how to set permissions for users to delete instances of your Django model and how to define the redirect URL for a successful delete. FREE ACCESS
-
6m 9sTo generate an archive of your Django model instances, use the ArchiveIndexView view. FREE ACCESS
-
7m 17sIn this video, you will learn how to create an archive of your Django model instances, categorized by year, using the YearArchiveView. FREE ACCESS
-
9m 30sFind out how to define an "About Us" page for your Django application. FREE ACCESS
-
9m 24sIn this video, find out how to set a customized 404 error page for your Django web site. FREE ACCESS
-
57sIn this video, discover the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.