~/talk

Getting the most out of Django’s User Model

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [django]
slides:none on file

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

  1. 0:00Django’s User Model intro
  2. 2:06Customizing Django’s user model
  3. 5:22Proxy model option
  4. 8:16One-to-one user profile
  5. 12:55Custom user model option
  6. 16:50When to customize user models
  7. 19:02Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.