Use Email Instead of Username in Django Authentication | Email Login

  Рет қаралды 15,232

Code Aura

Code Aura

Күн бұрын

Use email instead of username in Django Authentication
#django
#djangoemaillogin
#djangoemailinsteadofusername

Пікірлер: 29
@josakotech2391
@josakotech2391 2 жыл бұрын
Very descriptive narration. Thank you. Just subscribed.
@codeaura5138
@codeaura5138 2 жыл бұрын
Oh, you are welcome Josako! Thank you for your subscription. More videos are on their way...
@moqbulkhan4095
@moqbulkhan4095 3 жыл бұрын
You demystified AbstractBaseUser and AbstractUser classes and so many unknown facts brother. Please take a bow. Thank you!
@codeaura5138
@codeaura5138 3 жыл бұрын
Thank you for your precious words.
@Davidkiania
@Davidkiania Жыл бұрын
Great explanation thank you. You’ve simplified a pretty complex concept.
@codeaura5138
@codeaura5138 Жыл бұрын
Glad you liked it
@JorgeRamirez01
@JorgeRamirez01 2 жыл бұрын
This is the easiest method I have seen, Thank you! Next step, create a Profile for the users
@shamshadansari2018
@shamshadansari2018 Жыл бұрын
Very clear explanation on DRF.........please make videos on DRF .... please boss... thanks so much...
@paborlouise319
@paborlouise319 2 жыл бұрын
So beautiful and sweet, best way I've seen, thanks alot for this. I've been cracking my head over on how to get this done. I just hope it as easy it seems when I try it
@codeaura5138
@codeaura5138 2 жыл бұрын
Glad you found it useful.
@laraibkhan2517
@laraibkhan2517 Жыл бұрын
You made it easy for me to understand it. Thank You :)
@amjadsaleem1270
@amjadsaleem1270 2 жыл бұрын
Good short and useful video, many thanks. Running migration at the start before building a custom user model caused some issues, if deleting db , migrations and pycach doesn't solve the issues use 'python manage.py migrate --run-syncdb' and it should behave as intended.
@jacobwilsonmwale1674
@jacobwilsonmwale1674 Жыл бұрын
Thank you for this nicely explained video
@rubaimobarak
@rubaimobarak 2 жыл бұрын
Amazing explanation. Thanks
@codeaura5138
@codeaura5138 2 жыл бұрын
Thank you
@shamshadansari2018
@shamshadansari2018 Жыл бұрын
I am subscribed bcoz i want to learn all tutorial DRF by you.. please upload complete tutorial... please please....boss
@irayhanbd.
@irayhanbd. 3 ай бұрын
joss vai
@jaimemerchan9116
@jaimemerchan9116 2 жыл бұрын
Thanks friend for the content, I have a question how I can use the username instead of the email, in the django administrator since I need to know the name of the user who is making a purchase, and for the user registration I request the user the first and last name, thanks in advance
@codeaura5138
@codeaura5138 2 жыл бұрын
How you can use username: By default, Django/DRF takes username. So, no major tweaking needed. While overriding Django built-in User class, your User class should be as follows: Class User(AbstractBaseUser, PermissionsMixin): username = models.CharField(.......) #your other fields here... USERNAME_FIELD = 'username'
@tusharimaran9748
@tusharimaran9748 3 жыл бұрын
Amazing 👏 please make OOP video ..
@carsmercholdjdm680
@carsmercholdjdm680 2 жыл бұрын
Thank You!
@codeaura5138
@codeaura5138 2 жыл бұрын
You are welcome!
@rajveerparmar4129
@rajveerparmar4129 Жыл бұрын
thankyou ❤
@JatinSharma-tu2zg
@JatinSharma-tu2zg 2 жыл бұрын
your code is not working
@NekoManAICore
@NekoManAICore 2 жыл бұрын
Thanks u!!!
@veeramalainaidu2688
@veeramalainaidu2688 2 жыл бұрын
And that's the culprit😂😂😂😂😂. ohhh poor username
@codeaura5138
@codeaura5138 2 жыл бұрын
Somebody got my joke! Bravo!
Custom User Model with email login (DJANGO)
39:21
CodingWithMitch
Рет қаралды 46 М.
User registration and authentication in Django
58:35
Cloud With Django
Рет қаралды 32 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 9 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 123 МЛН
Django Authentication Basics
19:38
Pretty Printed
Рет қаралды 109 М.
Multiple User Types | Django
21:13
Daniel Roy Greenfeld
Рет қаралды 56 М.
Password Reset Email | Django (3.0) Crash Course Tutorials (pt 20)
19:28
How to win a argument
9:28
ajaxkmr
Рет қаралды 538 М.
Authentication & Refreshing Tokens Implementation
2:09:53
Dennis Ivy
Рет қаралды 235 М.
Django Permissions | Model Level | Views and Templates
23:30
Very Academy
Рет қаралды 17 М.
Django Tutorial - User Registration with Email Confirmation #15
21:28
Python Lessons
Рет қаралды 40 М.
django Multiple Users Registration | django tutorial
47:19
Bug Lover
Рет қаралды 34 М.
Adding User Login & Registration with Django
1:05:22
Dennis Ivy
Рет қаралды 30 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 9 МЛН