#20233 closed Cleanup/optimization (fixed)
Full custom user model example isn't really full
Reported by: | frewsxcv | Owned by: | postrational |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Referencing: https://docs.djangoproject.com/en/dev/topics/auth/customizing/#a-full-example
This section claims to be a 'full example', yet is missing one very important line. I believe that their should be an additional codeblock in this section telling to user to add
AUTH_USER_MODEL = 'myapp.MyUser'
to their settings.py.
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Easy pickings: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I have tentatively reserved this ticket for first-time committers who take part in the Don't be afraid to commit workshop at the DjangoCon Europe 2013 sprints on 18th and 19th May.
If you want to tackle this ticket before then, please don't let the fact that it's assigned to me stop you. Feel free to re-assign it to yourself and do whatever you like to it.
comment:4 by , 12 years ago
Owner: | changed from | to
---|
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
To be consistent with the example, it would be