Web Applications with Django: Working with Models

Django 3.1    |    Beginner
  • 10 videos | 1h 9m 17s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 10 users Rating 4.4 of 10 users (10)
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

  • 1m 51s
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.