Session Authentication Django REST Framework
Complete Session Authentication Django REST Framework
00:00:00 Project Introduction
00:02:02 How Session Authentication Work
00:04:03 Prerequisites
00:06:15 Create Virtual env
00:07:50 Install Required Packages
00:10:08 Creating Project
00:10:41 Django Rest Framework Setting
00:11:15 CORS Header Setting
00:12:51 dotenv Setting
00:13:30 mysqliclient Setting
00:14:14 Database Configuration
00:18:23 Email Configuration
00:21:54 Creating account Application
00:22:27 Create Custom User Model
00:30:26 Create Custom User Serializer
00:35:33 Create Custom User Model Admin
00:36:50 Create Views
00:38:29 RegistrationView
00:39:46 Send Account Activation Email on Registration
00:46:50 Account Activation HTML Template
00:48:56 Migrations and Migrate
00:49:46 Registration URL
00:51:42 ActivateView
00:52:10 ActivateView URL
00:53:06 Test Registration and Account Activation Email
00:56:55 ActivationConfirm View
01:00:28 ActivationConfirm URL
01:01:12 Test ActivationConfirm
01:03:43 Enable Session Authentication
01:04:30 Enable Permission IsAuthenticated
01:05:18 Enable JSONRenderer
01:06:04 CSRF Protected
01:06:11 GetCSRFToken View to Generate CSRF Token
01:07:25 GetCSRFToken URL
01:07:48 Test GetCSRFToken
01:08:53 Enable CSRF Protection for Views
01:09:54 Check CSRF Protection
01:13:33 LoginView
01:16:37 LoginView URL
01:17:04 Test LoginView
01:18:50 LogoutView
01:19:33 LogoutView URL
01:19:50 Test LogoutView
01:21:17 UserDetailView
01:22:36 UserDetailView URL
01:23:00 Test UserDetailView
01:24:11 Update User
01:26:47 ChangePasswordView
01:27:47 ChangePasswordView URL
01:28:00 Test ChangePasswordView
01:29:48 DeleteAccountView
01:30:39 DeleteAccountView URL
01:30:51 Test DeleteAccountView
01:32:00 ResetPasswordEmailView
01:35:38 Password Reset Email HTML Template
01:36:36 ResetPasswordEmailView URL
01:37:10 ResetPasswordView
01:37:45 ResetPasswordView URL
01:38:24 ResetPasswordConfirmView
01:39:32 ResetPasswordConfirmView URL
01:40:14 Test Reset Password
01:43:27 CheckAuthenticatedView
01:44:20 CheckAuthenticatedView URL
01:44:30 Test CheckAuthenticatedView
01:45:14 Fix Delete Account Bug
01:47:14 Set Session Cookie Age
01:49:20 Set Local TimeZone (Not Recommanded)

Source Code: https://github.com/geekyshow1/djangosessionauth

Django Image Uploader : https://youtu.be/5TwCVOyYR4U

Complete Django Course: https://www.youtube.com/playlist?list=PLbGui_ZYuhigchy8DTw4pX4duTTpvqlh6

Ajax Tutorials: https://www.youtube.com/playlist?list=PLbGui_ZYuhihUYNCkpedtfgpYXv9tHVsp

Check Out Our Other Playlists:
https://www.youtube.com/user/GeekyShow1/playlists

SUBSCRIBE to Learn Programming Language !
http://goo.gl/glkZMr

Learn more about subject:
http://www.geekyshows.com/

________________________________________________

If you found this video valuable, give it a like.
If you know someone who needs to see it, share it.
If you have questions ask below in comment section.
Add it to a playlist if you want to watch it later.
________________________________________________

T A L K W I T H M E !
Business Email: [email protected]
Youtube Channel: https://www.youtube.com/geekyshow1
Facebook: https://www.facebook.com/GeekyShow
Twitter: https://twitter.com/Geekyshow1
Website: http://www.geekyshows.com/
_______________________________________________

Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :)
_______________________________________________