Working With Django User Management
In this lesson, you gain access to Django’s authentication system URLs:
accounts/login/
- Used to Log a User Into Your Applicationaccounts/logout/
- Used to Log a User Out of Your Applicationaccounts/password_change/
- Used to Change a Passwordaccounts/password_change/done/
- Shows a Confirmation That a Password Was Changedaccounts/password_reset/
- Used to Request an Email With a Password Reset Linkaccounts/password_reset/done/
- Shows Confirmation That a Password Reset Email Was Sentaccounts/reset/<uidb64>/<token>/
- Used to Set a New Password Using a Password Reset Linkaccounts/reset/done/
- Shows Confirmation That a Password Was Reset
You’ll also visit the login address, at http://127.0.0.1:8000/accounts/login/
00:00 Working With Django User Management. A complete website needs more than just the dashboard. Luckily, Django has a lot of user management related resources that will take care of almost everything, including log in, log out, password change, and password reset. Templates aren’t part of those resources, though. You’ll have to create them on your own.
00:26 Start by adding the URLs provided by the Django authentication system into your application.
00:45 This will give you access to all of the following URLs, seen on-screen. This might seem a bit overwhelming, but don’t worry. In the following sections of the course, you’ll learn what each of these URLs does and how to add them to your application.
01:01 Return to your browser and go to the login address, as seen on-screen.
01:07 You’ll be greeted with an error, but don’t worry. Django’s error message is telling you that it can’t find the template needed for the login page. So in the next video, you’ll see what’s needed to get logins up and running.
Become a Member to join the conversation.