Getting the most out of Django’s User Model
summary
Explains three concrete ways to extend Django’s User and when each is practical: use a proxy model to add methods without migrations, add a OneToOne profile table to store extra fields (access via user.profile and manage with signals to create/delete), or replace the model using AbstractBaseUser and set AUTH_USER_MODEL to swap identifiers like email. Shows a blog example, demos admin integration, warns to choose or add a profile early in the project to avoid messy migrations.
AI-written summary · about
chapters (7)
- 0:00Django’s User Model intro
- 2:06Customizing Django’s user model
- 5:22Proxy model option
- 8:16One-to-one user profile
- 12:55Custom user model option
- 16:50When to customize user models
- 19:02Q&A
related talks
27mDjango User Model: Past, Present, and Future with Will Vincent
23mBeyond the Basics of Migrations
53mDjango productivity tips and tricks
25mUnderstanding Django authentication
15mDjango URL Pattern Role Authorization System
29mPushing The Pony's Boundaries - Django Admin Customization
01h 06mEffective Django
53mDjango productivity tips and tricks
