Very descriptive narration. Thank you. Just subscribed.
@codeaura51383 жыл бұрын
Oh, you are welcome Josako! Thank you for your subscription. More videos are on their way...
@moqbulkhan40953 жыл бұрын
You demystified AbstractBaseUser and AbstractUser classes and so many unknown facts brother. Please take a bow. Thank you!
@codeaura51383 жыл бұрын
Thank you for your precious words.
@JorgeRamirez012 жыл бұрын
This is the easiest method I have seen, Thank you! Next step, create a Profile for the users
@Davidkiania Жыл бұрын
Great explanation thank you. You’ve simplified a pretty complex concept.
@codeaura5138 Жыл бұрын
Glad you liked it
@shamshadansari20182 жыл бұрын
Very clear explanation on DRF.........please make videos on DRF .... please boss... thanks so much...
@paborlouise3192 жыл бұрын
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
@codeaura51382 жыл бұрын
Glad you found it useful.
@amjadsaleem12702 жыл бұрын
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 Жыл бұрын
You made it easy for me to understand it. Thank You :)
@jacobwilsonmwale1674 Жыл бұрын
Thank you for this nicely explained video
@shamshadansari20182 жыл бұрын
I am subscribed bcoz i want to learn all tutorial DRF by you.. please upload complete tutorial... please please....boss
@jaimemerchan91163 жыл бұрын
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
@codeaura51383 жыл бұрын
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'