#32791: Documentation unclear on custom user models
-------------------------------------+-------------------------------------
Reporter: Matthew Somerville | Owner: Nishant
| Sagar
Type: Uncategorized | Status: closed
Component: Documentation | Version: 3.2
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ashley):
+1, I was reading these docs today, got confused by the emphasis to create
a customer user model immediately followed by cautionary advice. I'm
relatively new to Django but from the few seemingly reputable opinions
I've encountered, it seems if anyone expecting any sort of growth, or even
an inkling of an eventual need to make User more versatile (even if
uncertain immediately), one should simply make the call from the start,
utilize a custom user model. The main reason I hear is the pain
encountered with a move after initial migrations. I'd imagine for
newcomers, it might be less painful to go for a customer user model than
to have to deal with a custom migration to such a model shortly
thereafter.
https://docs.djangoproject.com/en/4.1/topics/auth/customizing/
> ... If you’re starting a new project, it’s highly recommended to set
up a custom user model. ...
> ... When you start your project with a custom user model, stop to
consider if this is the right choice for your project. ...
--
Ticket URL: <https://code.djangoproject.com/ticket/32791#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070183157cab49-8a533a36-daf7-4ab1-8783-dc40834e46c5-000000%40eu-central-1.amazonses.com.