Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Django Authentication Course

via Treehouse

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.

Django offers a powerful system for creating and authenticating users. Django's system also offers a lot of customization options. In this course, we'll explore Django's built-in auth, custom users, and more.

What you'll learn

  • Authentication and authorization
  • Custom user classes
  • Custom permissions and permission checks

Syllabus

Authentication

Creating accounts and identifying users, and requiring that they log in before they can access views, are important parts of every web application. Here's how to do both of these things, and more, using tools provided by Django.

Chevron 10 steps
  • A Tale of Two Auths

    3:49

  • Build a CreateView

    1 objective

  • Requiring Logins

    5:53

  • LoginRequiredMixin

    1 objective

  • LoginView

    12:41

  • LoginView

    2 objectives

  • LogoutView and SignUpView

    9:48

  • SignUpView

    2 objectives

  • Resetting Passwords

    8:41

  • Review: Authentication

    6 questions

Users and Authorization

Sometimes the default Django user just isn't what your app needs. Let me show you how to customize the user model, add custom permissions, and require users to have permissions to perform actions.

Chevron 10 steps
  • User Diversity

    1:41

  • Custom User Manager

    4:49

  • Custom User Manager

    2 objectives

  • Custom User Model

    12:24

  • Custom User Model

    3 objectives

  • Permissions

    2:20

  • Checkpoints

    8:27

  • Custom Permission

    2 objectives

  • Bringing It All Together

    11:04

  • Add to Group

    1 objective

Reviews

Start your review of Django Authentication Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.