reading-notes

Software Development Reading Notes

View on GitHub

Django Best Practices: Custom User Model

In real world most likely we will have to create customized user models instead of use th Django’s built-in models.

set up

Custom user model

Create superuser

used to log in/out admin.

Templates/Views/URLs

read source code of DjangoX project.

substitute a custom user model

https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#auth-custom-user

Things I want to know more: