Building Web Apps Using Django: Models & User Registration


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Django is a widely used web framework written in Python language. Explore the use of models to represent entities in a Django project, how they fit in with the project database, and how to implement user registration for a website by using various built-in Django tools in this 12-video course. Learners begin with Django models and defining entities in Django applications in model form, then learn how to propagate model definitions to a project's database by generating and running a migration script; create instances of a Django model and access model attributes; and view, update, and create instances of a Django model from the built-in admin interface. Next, explore user registration and create a view that uses Django's built-in user registration form; define the URL and template file for user registration pages for Django applications; convey notifications to website users with flash messages; and save data submitted in a user registration form by extending its definition. Conclude by learning how to install and use the Django-crispy-forms library to format a Django application's user registration page.



Expected Duration (hours)
1.4

Lesson Objectives

Building Web Apps Using Django: Models & User Registration

  • discover the key concepts covered in this course
  • define an entity in your Django application in the form of a model
  • propagate a model definition to your project's database by generating and running a migration script
  • create instances of a Django model and access model attributes, including related objects
  • view, update, and create instances of your Django model from the built-in admin interface
  • create a view that uses Django's built-in user registration form
  • define the URL and template file for the user registration page for a Django application
  • convey notifications to your website's users with flash messages
  • save the data submitted in a user registration form to the Django project database
  • add additional fields in the user registration form by extending its definition
  • install and use the django-crispy-forms library to format your Django application's user registration page
  • summarize the key concepts covered in this course
  • Course Number:
    it_apbwaddj_04_enus

    Expertise Level
    Intermediate