5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

Aspire     Pythonista to Python Master     Python Master Track 4: Building Restful Web Services with Python
The robust websites and apps produced using Django suggest a much more complicated framework than is used. In this course, you'll build on your existing Django knowledge to perform some Django template language operations.
You'll start this course by performing various query operations on your Django model instances from the Python shell. You'll also use the Django admin website to work with your models.
You'll implement class-based views in Django, first using the ListView class to view multiple instances of a model before using the DetailView class to view individual records.
Moving along, you'll use CreateView and UpdateView to generate and modify instances and implement a DeleteView for their easy removal.
You'll round off this course by briefly exploring how to improve the aesthetics of your class-based views by incorporating HTML elements, such as tables, in their corresponding templates.

Objectives

Web Applications with Django: Models and Class-based Views

  • discover the key concepts covered in this course
  • perform various select-from-where operations on the data stored as instances in a Django model class
  • use the ListView view class to access all the data stored in a Django model class as a list of records
  • use the DetailView view class to access a specific instance of a Django model
  • use the CreateView built-in view class to create a new instance of a Django model
  • use the UpdateView built-in view class to update already created instances of a Django model class
  • use the UserPassesTestMixin and other code in the Django template language to allow only active users or super users to perform specific operations
  • use the DeleteView built-in view class to remove specific instances of a Django model
  • define various HTML tables to improve the aesthetics of pages, which allow interactions with Django model instances
  • summarize the key concepts covered in this course