Building Web Apps Using Django: Generic Views

Django 2.2
  • 14 Videos | 1h 50m 50s
  • Includes Assessment
  • Earns a Badge
Likes 17 Likes 17
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

  • Playable
    1. 
    Course Overview
    1m 51s
    UP NEXT
  • Playable
    2. 
    Update Forms in a Django App - Part 1
    8m 12s
  • Locked
    3. 
    Update Forms in a Django App - Part 2
    8m 15s
  • Locked
    4. 
    The ListView in Django
    8m 52s
  • Locked
    5. 
    The DetailView in Django
    9m 23s
  • Locked
    6. 
    Django's CreateView
    8m 55s
  • Locked
    7. 
    Django's UpdateView
    9m 10s
  • Locked
    8. 
    Django's DeleteView
    9m 33s
  • Locked
    9. 
    Configuring Permissions for the DeleteView
    7m 21s
  • Locked
    10. 
    Django's ArchiveIndexView
    6m 9s
  • Locked
    11. 
    Django's YearArchiveView
    7m 17s
  • Locked
    12. 
    Applying Finishing Touches - Part 1
    9m 30s
  • Locked
    13. 
    Applying Finishing Touches - Part 2
    9m 24s
  • Locked
    14. 
    Course Summary
    57s

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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 367 Likes 367  
Likes 210 Likes 210