Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 frewsxcv, 11 years ago

To be consistent with the example, it would be

AUTH_USER_MODEL = 'customauth.MyUser'

comment:2 by Tim Graham, 11 years ago

Easy pickings: set
Triage Stage: UnreviewedAccepted

comment:3 by Daniele Procida, 11 years ago

Owner: changed from nobody to Daniele Procida
Status: newassigned

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 postrational, 11 years ago

Owner: changed from Daniele Procida to postrational

comment:5 by postrational <github@…>, 11 years ago

In 0b3a6ead88c84aa30f11ad51ad3d89a016f9dd67:

refs #20233 - Full custom user model example isn't really full

Addition and fix for custom user model example documentation.

https://code.djangoproject.com/ticket/20233

comment:6 by Andrew Godwin <andrew@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In cf56536ac7e63231ba63b602fbb89bd3d936f4fe:

Merge pull request #1145 from postrational/ticket_20233

Fixed #20233 - Full custom user model example isn't really full

comment:7 by Tim Graham <timograham@…>, 11 years ago

In cc62cbed76daeaea28c1e4892244bcf1e148f373:

Fixed some line wrapping, refs #20233

Note: See TracTickets for help on using tickets.
Back to Top