Django Authentication Course

Go to class
Write Review

Free Online Course: Django Authentication Course provided by Treehouse is a comprehensive online course, which lasts for 2-3 hours worth of material. The course is taught in English and is free of charge.

Overview
  • 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