У нас вы можете посмотреть бесплатно Python Django Custom Authentication : Login, Logout & Registration | Beginner Friendly Tutorial [6] или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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 ✅ Displaying different UI elements based on user authentication (user.is_authenticated) ✅ 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! 00:49 - Overview of what we are working with ; our users app and base.html 01:41 - Create templates ( user accounts templates : login.html , register.html and profile.html ) 02:28 - Create urls.py in users app and include it in projects urls 03:46 - Django built in authentication views 04:14 - import and define LoginView 04:56 - Create Path to Login Page in urls.py 05:52 - When to use .as_view 06:28 - Common Django error caused by using backslash 07:24 - Login Page Template - extend base.html and render the login form 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! 00:49 - Overview of what we are working with ; our users app and base.html 01:41 - Create templates ( user accounts templates : login.html , register.html and profile.html ) 02:28 - Create urls.py in users app and include it in projects urls 03:46 - Django built in authentication views 04:14 - import and define LoginView 04:56 - Create Path to Login Page in urls.py 05:52 - When to use .as_view 06:28 - Common Django error caused by using backslash 07:24 - Login Page Template - extend base.html and render the login form 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: https://github.com/PikoCanFly/Django-... Today's final code: https://github.com/PikoCanFly/Django-... _____ Join this channel to get access to perks: / @pikocanfly #django #authentication #tutoriak #login #register #pythonwebdev