Web Applications with Django: Working with Models

Django 3.1    |    Beginner
  • 10 Videos | 1h 13m 17s
  • Includes Assessment
  • Earns a Badge
Creating websites and REST APIs is simplified through Django's built-in features. In this course, you'll learn how to use some of these features to build highly-performant websites and apps. You'll begin by examining how Django models are defined, migrated to a linked database, and registered with the built-in admin app. You'll then move on to using the Django ModelForm base class, which allows you to create a web page to create instances of your Django model. You'll then explore how to create a sign-in page for your Django website users and present signed-in users with a different view of the site. Finally, you'll cover how users can be allowed to sign out of your website.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    define a Django model and create a migration script for that model
    migrate a Django model to a database and register a model with the Django user administration site
    wire up a form to create instances of a Django model and create a view for a web page through which users can fill in the form
    define the URL and template file for the user registration page for a Django application
  • define the URL and template file for a sign-in page and test out the features in that page
    implement authentication on a sign-in page and convey notifications to your website's users by using Flash messages
    develop a different web page to be returned to signed-in users of your Django website
    create the view and template for a basic logout page for the logged in users of your website
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 51s
    UP NEXT
  • Playable
    2. 
    Creating a Django Model and a Migration Script
    10m 19s
  • Locked
    3. 
    Deploying a Django Model
    5m 22s
  • Locked
    4. 
    Using a Django ModelForm
    9m 56s
  • Locked
    5. 
    Embedding a ModelForm in a Template
    6m 1s
  • Locked
    6. 
    Creating a Sign-in Page Using Django Templates
    6m 33s
  • Locked
    7. 
    Retrieving Django Model Instances
    10m 7s
  • Locked
    8. 
    Building a Login Feature for Your Django Website
    12m 6s
  • Locked
    9. 
    Developing a Logout Feature for Your Django Website
    5m 46s
  • Locked
    10. 
    Course Summary
    1m 14s

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.