Johanan Oppong Amoatengjohananoppongamoateng.hashnode.dev·Jul 15, 2023How to Extend the Default Django User ModelIntroduction: The Django web framework provides a powerful authentication system out-of-the-box with its default User model. However, there are often cases where we need to add additional fields or functionality to the User model to suit our applicat...62 readsDjango
Onuh Chidera Theolashecode3.hashnode.dev·Apr 4, 2023Using AbstractBaseUser In DjangoIntroduction If you are like me, you have probably worked your way through the Django documentation and probably haven’t understood this yet. Well, I just cracked this huge case, and it was an ordeal. AbstractBaseUser is a model class in Django, an...2 likes·152 readsDjangoDjango
Anjanesh Lekshminarayanananjanesh.dev·Mar 7, 2023Extending Django's default User ModelIf you're starting a brand new Django project and want to modify the user model, try this - this is tricky in the sense that it has the been done step-by-step without intervention in-between. In this case, we're adding a role and date-of-birth (dob) ...217 readsDjango
T.I.M.I.B.O.Itimibacco.hashnode.dev·Feb 27, 2023AbstractUser vs AbstractBaseUser : Creating a custom Django user model.Many times, as a Django project gets more complex, there will be more users and these users will later have diverse roles they play in this project. Permissions, roles, and unique identifiers as different from the normal email and username fields we ...375 readsDjango