Web Applications with Django: Working with Models
Django 3.1
| Beginner
- 10 videos | 1h 9m 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 coursedefine a Django model and create a migration script for that modelmigrate a Django model to a database and register a model with the Django user administration sitewire 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 formdefine 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 pageimplement authentication on a sign-in page and convey notifications to your website's users by using Flash messagesdevelop a different web page to be returned to signed-in users of your Django websitecreate the view and template for a basic logout page for the logged in users of your websitesummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 51sUP NEXT
-
2.Creating a Django Model and a Migration Script10m 19s
-
3.Deploying a Django Model5m 22s
-
4.Using a Django ModelForm9m 56s
-
5.Embedding a ModelForm in a Template6m 1s
-
6.Creating a Sign-in Page Using Django Templates6m 33s
-
7.Retrieving Django Model Instances10m 7s
-
8.Building a Login Feature for Your Django Website12m 6s
-
9.Developing a Logout Feature for Your Django Website5m 46s
-
10.Course Summary1m 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.