Django Custom User Model | Example 1 | Multiple User Types | Django AbstractUser

preview_player
Показать описание
In this Django tutorial, we learn how to build a Django custom user model. The Django 4.x ORM course provides learners with a complete overview of the Django Framework ORM (Object-relational mapping) through applied learning. In this course, you’ll learn about the features of Django ORM and SQL. By better understanding the features of the Django ORM, you will learn how to interact with databases from within a Django project, as you would with SQL. You will learn how to administrate tables and perform common Create, Return, Update and Delete (CRUD) operations through the Django ORM.

Udemy Course Link: Django 4.x ORM Mastery
===================

YouTube Playlist
===================

GitHub Code Repository
===================
Рекомендации по теме
Комментарии
Автор

Your willingness and courage to be nuanced (not talk too much) in a space that's filled with 'learn this in 5 minutes' is what helped me get to the bottom of Django. Don't ever stop 'talking too much'!

xxoooOFxx
Автор

I'm amazed by the depth of the subject you"re willing to teach every time one of your video pop up. It's well above most of the "Tuto" you can find on youtube.
Please continue going that way and thank you for you're work .

captainfracassful
Автор

Just bought your course on Udemy. Thank you for all the hard work you have put into the course. This is my way of thanking you for all the amazing content on youtube .

psgpyc
Автор

Another student learning a lot with your videos, I enjoy your good natured tone and teaching pace. Thank you!

piprz
Автор

5th Sept 2023 - This has really helped me understand the AbstractUser as I've been really trying to grasp it. Thanks !!!

collinswanyeki
Автор

If you override the save method like this on the Custom User class then you will not be able to update your model instances as the super().save(*args, **kwargs) will never be reached. This line should be moved outside of the if-clause.

andreasbuchmann
Автор

🐱This is one of the best teaching of Django admin modules. I'm beyond happy to watch your channel and demonstration🐱 Really appreciate!

caramelbkk
Автор

Showing how to override the save method on abstractuser saved me so much pain. Thank you for this top notch tutorial!

kitchenchem
Автор

i always learn new details that i rarely see anywhere from you. thanks

akinyemisodiq
Автор

Thanks a lot!! The tutorials are very useful!

muratbaysary
Автор

I thought I had seen the best Django tutorials on YouTube, because I've been at it for quite some time now. Boy was I wrong!

I no longer have words suitable to describe how appreciative I am of tutorials like yours. I saw your channel mentioned by another learner in the comments of some other great video, so I decided to check it out. One of my greatest decisions all year.

mickey
Автор

Thank you very much, your tutorials are very good and helpful.

davidsulaberidze
Автор

This was a great video and detailed. i really appreciate your dedication to teaching 😊

karljenkins
Автор

Perfect video, That's what I'm looking for, keep up

lolpunch
Автор

I am looking for a continuation video on DRF. Your tutorials are fantastic and simplified

kumarbanavathu
Автор

Very good explained and was a life saver

evelyndezsi
Автор

You are no doubt one of the best teachers on the internet. I really love the way you take out time to explain each concept in your videos.
What playlist is this video listed in?
I've been searching through your channel and I can't find it in any playlist.

Can you please pin a roadmap video from complete beginner to advance mastery.

Thanks 👍🏼

michaelseth
Автор

Nice tutorial however I’m not so comfortable changing the built-in user model to add the role field; I think that’s a best practice…to not update the built-in tables. I also feel a bit like this conflates the meaning of user types with user roles. A user type to me is different. You may have users of the same types with different roles. For example if you’re building a crm tool and you may have and admin vs regular user role. Or even in Django itself, the user can be admin or staff. I guess we could just rename your “role” field to user-type or build another user type table, and use a separate table to track roles

bertobertoberto
Автор

Thanks alot for your well-described tutorials. There's a question I've been meaning to ask, not necessarily about Django alone, but on a general codebase level. It goes thus:

Using this process as an example, say I want to start a project with a custom Userbase by inheriting and customizing the AbstractUserModel. There are certain behaviors and functionalities that my custom user class will have to exhibit. Such as the 'normalizing the email' step, for the email field.

Do I always have to know the code and steps taken to implement these functionalities, or is there room to refer to official documentation if the need arises?

mickey
Автор

Thank you very much for this tutorial. Please when is the other two example tutorials coming out?

SegunLive