Building Web Apps Using Django: Generic Views

Django 2.2    |    Intermediate
  • 14 videos | 1h 44m 50s
  • Includes Assessment
  • Earns a Badge
Rating 3.0 of 3 users Rating 3.0 of 3 users (3)
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 course
    Define forms and a view function to enable users of your django web site to update model instances
    Configure update forms so that users can submit the new data for model instances in a post request
    Use the built-in generic listview to list instances of a model in your django project
    Display all details of a django model instance using the built-in detailview view
    Enable the creation of new instances of your django model by implementing a createview view
    Allow 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 model
    Set permissions for users to delete instances of your django model and define the redirect url for a successful delete
    Generate an archive of your django model instances using the archiveindexview view
    Create an archive of your django model instances, categorized by year, using the yeararchiveview view
    Define an "about us" page for your django application
    Set a customized 404 error page for your django web site
    Discover the key concepts covered in this course

IN THIS COURSE

  • 1m 51s
  • 8m 12s
    In 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
  • Locked
    3.  Update Forms in a Django App - Part 2
    8m 15s
    In 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
  • Locked
    4.  The ListView in Django
    8m 52s
    In 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
  • Locked
    5.  The DetailView in Django
    9m 23s
    Learn how to display all details of a Django model instance using the built-in DetailView. FREE ACCESS
  • Locked
    6.  Django's CreateView
    8m 55s
    In this video, learn how to enable the creation of new instances of your Django model by implementing a CreateView. FREE ACCESS
  • Locked
    7.  Django's UpdateView
    9m 10s
    Find out how to allow users to update instances of your Django model by means of an UpdateView. FREE ACCESS
  • Locked
    8.  Django's DeleteView
    9m 33s
    In this video, find out how to use the built-in DeleteView view to allow users to delete instances of your Django model. FREE ACCESS
  • Locked
    9.  Configuring Permissions for the DeleteView
    7m 21s
    In 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
  • Locked
    10.  Django's ArchiveIndexView
    6m 9s
    To generate an archive of your Django model instances, use the ArchiveIndexView view. FREE ACCESS
  • Locked
    11.  Django's YearArchiveView
    7m 17s
    In this video, you will learn how to create an archive of your Django model instances, categorized by year, using the YearArchiveView. FREE ACCESS
  • Locked
    12.  Applying Finishing Touches - Part 1
    9m 30s
    Find out how to define an "About Us" page for your Django application. FREE ACCESS
  • Locked
    13.  Applying Finishing Touches - Part 2
    9m 24s
    In this video, find out how to set a customized 404 error page for your Django web site. FREE ACCESS
  • Locked
    14.  Course Summary
    57s
    In 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 21 users Rating 4.6 of 21 users (21)
Rating 4.9 of 13 users Rating 4.9 of 13 users (13)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)