filmov
tv
Python Django Custom Authentication : Login, Logout & Registration | Beginner Friendly Tutorial [6]

Показать описание
In this video, we dive into Django's built-in authentication system and set up user accounts with login, logout, and sign-up functionality. You'll learn how to handle user authentication securely and create user-friendly forms for signing in and registering. We’ll also use Bootstrap to enhance the UI and ensure a smooth user experience.
What You'll Learn:
✅ Setting up Django’s authentication system
✅ Creating a sign-up form and handling user registration
✅ Implementing login and logout functionality
✅ Styling authentication pages with Bootstrap
By the end of this tutorial, you’ll have a solid foundation for managing users in your Django web applications.
🕣Chapters:
00:00 - Django Auth System is Awesome!
03:46 - Django built in authentication views
04:14 - import and define LoginView
05:52 - When to use .as_view
06:28 - Common Django error caused by using backslash
08:50 - Post Requests and CSRF Tokens
09:25 - Register User View & User Creation Form
10:37 - Defining Register User Form (Subclassing User Creation Form )
11:43 - Django's Form View
13:31 - Automatically log in user on user registration
14:03 - Routing to Registration Page
14:46 - Register User Template
15:13 - Testing User Registration
15:49 - Django Admin + Creating Super User
17:50 - Register Custom User in Django Admin
19:30 - Styling The Register Page - Loop Over the built in form elements and style each of them
23:45 - Showing and styling errors | Django's template filet striptags ( to remove html and replace it )
25:17 - Styling Login Page
25:57 - Add logout button to navbar
29:12 - Define Logout View ( Subclass Django's Built in Logout View ) and map to it
30:46 - Add Link to Login Page to navbar and conditionally render it based on whether the user is authenticated
31:40 - style the login button
34:08 - Add link to Register Page
00:00 - Django Auth System is Awesome!
03:46 - Django built in authentication views
04:14 - import and define LoginView
05:52 - When to use .as_view
06:28 - Common Django error caused by using backslash
08:50 - Post Requests and CSRF Tokens
09:25 - Register User View & User Creation Form
10:37 - Defining Register User Form (Subclassing User Creation Form )
11:43 - Django's Form View
13:31 - Automatically log in user on user registration
14:03 - Routing to Registration Page
14:46 - Register User Template
15:13 - Testing User Registration
15:49 - Django Admin + Creating Super User
17:50 - Register Custom User in Django Admin
19:30 - Styling The Register Page - Loop Over the built in form elements and style each of them
23:45 - Showing and styling errors | Django's template filet striptags ( to remove html and replace it )
25:17 - Styling Login Page
25:57 - Add logout button to navbar
29:12 - Define Logout View ( Subclass Django's Built in Logout View ) and map to it
30:46 - Add Link to Login Page to navbar and conditionally render it based on whether the user is authenticated
31:40 - style the login button
34:08 - Add link to Register Page
🔗 Code:
Where we left off:
Today's final code:
_____
Join this channel to get access to perks:
#django #authentication #tutoriak #login #register #pythonwebdev
What You'll Learn:
✅ Setting up Django’s authentication system
✅ Creating a sign-up form and handling user registration
✅ Implementing login and logout functionality
✅ Styling authentication pages with Bootstrap
By the end of this tutorial, you’ll have a solid foundation for managing users in your Django web applications.
🕣Chapters:
00:00 - Django Auth System is Awesome!
03:46 - Django built in authentication views
04:14 - import and define LoginView
05:52 - When to use .as_view
06:28 - Common Django error caused by using backslash
08:50 - Post Requests and CSRF Tokens
09:25 - Register User View & User Creation Form
10:37 - Defining Register User Form (Subclassing User Creation Form )
11:43 - Django's Form View
13:31 - Automatically log in user on user registration
14:03 - Routing to Registration Page
14:46 - Register User Template
15:13 - Testing User Registration
15:49 - Django Admin + Creating Super User
17:50 - Register Custom User in Django Admin
19:30 - Styling The Register Page - Loop Over the built in form elements and style each of them
23:45 - Showing and styling errors | Django's template filet striptags ( to remove html and replace it )
25:17 - Styling Login Page
25:57 - Add logout button to navbar
29:12 - Define Logout View ( Subclass Django's Built in Logout View ) and map to it
30:46 - Add Link to Login Page to navbar and conditionally render it based on whether the user is authenticated
31:40 - style the login button
34:08 - Add link to Register Page
00:00 - Django Auth System is Awesome!
03:46 - Django built in authentication views
04:14 - import and define LoginView
05:52 - When to use .as_view
06:28 - Common Django error caused by using backslash
08:50 - Post Requests and CSRF Tokens
09:25 - Register User View & User Creation Form
10:37 - Defining Register User Form (Subclassing User Creation Form )
11:43 - Django's Form View
13:31 - Automatically log in user on user registration
14:03 - Routing to Registration Page
14:46 - Register User Template
15:13 - Testing User Registration
15:49 - Django Admin + Creating Super User
17:50 - Register Custom User in Django Admin
19:30 - Styling The Register Page - Loop Over the built in form elements and style each of them
23:45 - Showing and styling errors | Django's template filet striptags ( to remove html and replace it )
25:17 - Styling Login Page
25:57 - Add logout button to navbar
29:12 - Define Logout View ( Subclass Django's Built in Logout View ) and map to it
30:46 - Add Link to Login Page to navbar and conditionally render it based on whether the user is authenticated
31:40 - style the login button
34:08 - Add link to Register Page
🔗 Code:
Where we left off:
Today's final code:
_____
Join this channel to get access to perks:
#django #authentication #tutoriak #login #register #pythonwebdev
Комментарии