Use Email Instead of Username in Django Authentication | Email Login

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

Code Aura

Code Aura

Күн бұрын

Пікірлер: 29
@josakotech2391
@josakotech2391 3 жыл бұрын
Very descriptive narration. Thank you. Just subscribed.
@codeaura5138
@codeaura5138 3 жыл бұрын
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.
@JorgeRamirez01
@JorgeRamirez01 2 жыл бұрын
This is the easiest method I have seen, Thank you! Next step, create a Profile for the users
@Davidkiania
@Davidkiania Жыл бұрын
Great explanation thank you. You’ve simplified a pretty complex concept.
@codeaura5138
@codeaura5138 Жыл бұрын
Glad you liked it
@shamshadansari2018
@shamshadansari2018 2 жыл бұрын
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.
@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.
@laraibkhan2517
@laraibkhan2517 Жыл бұрын
You made it easy for me to understand it. Thank You :)
@jacobwilsonmwale1674
@jacobwilsonmwale1674 Жыл бұрын
Thank you for this nicely explained video
@shamshadansari2018
@shamshadansari2018 2 жыл бұрын
I am subscribed bcoz i want to learn all tutorial DRF by you.. please upload complete tutorial... please please....boss
@jaimemerchan9116
@jaimemerchan9116 3 жыл бұрын
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 3 жыл бұрын
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'
@rubaimobarak
@rubaimobarak 3 жыл бұрын
Amazing explanation. Thanks
@codeaura5138
@codeaura5138 3 жыл бұрын
Thank you
@irayhanbd.
@irayhanbd. 5 ай бұрын
joss vai
@tusharimaran9748
@tusharimaran9748 3 жыл бұрын
Amazing 👏 please make OOP video ..
@rajveerparmar4129
@rajveerparmar4129 Жыл бұрын
thankyou ❤
@carsmercholdjdm680
@carsmercholdjdm680 2 жыл бұрын
Thank You!
@codeaura5138
@codeaura5138 2 жыл бұрын
You are welcome!
@NekoManAICore
@NekoManAICore 2 жыл бұрын
Thanks u!!!
@JatinSharma-tu2zg
@JatinSharma-tu2zg 2 жыл бұрын
your code is not working
@veeramalainaidu2688
@veeramalainaidu2688 2 жыл бұрын
And that's the culprit😂😂😂😂😂. ohhh poor username
@codeaura5138
@codeaura5138 2 жыл бұрын
Somebody got my joke! Bravo!
How to extend the User Model in Django with AbstractUser
13:55
Authentication & Refreshing Tokens Implementation
2:09:53
Dennis Ivy
Рет қаралды 242 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 52 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
Django Authentication using Email Address - Login with Email in Django
28:02
Multiple User Types | Django
21:13
Daniel Roy Greenfeld
Рет қаралды 57 М.
Django Tutorial - Login, Logout and User Authentication
13:44
Tech With Tim
Рет қаралды 131 М.
Password Reset Email | Django (3.0) Crash Course Tutorials (pt 20)
19:28
Custom User Model with email login (DJANGO)
39:21
CodingWithMitch
Рет қаралды 47 М.
Django Permissions | Model Level | Views and Templates
23:30
Very Academy
Рет қаралды 18 М.
Custom User Model | Explore Django
14:01
Code With Stein
Рет қаралды 40 М.
Learn the basics of Django's Model Managers and Querysets
19:38
Matt Freire
Рет қаралды 44 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 1,7 МЛН
User registration and authentication in Django
58:35
Cloud With Django
Рет қаралды 36 М.