Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27911 closed Cleanup/optimization (fixed)

Document UserAdmin when creating custom User model

Reported by: David D Lowe Owned by: nobody
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The section entitled "Using a custom user model when starting a project", when followed, seems to cause the "Users" section of the admin site to disappear.

https://docs.djangoproject.com/en/1.10/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project

The simple fix to this is to register the custom User model with UserAdmin. This is not mentioned in the documentation.

Change History (4)

comment:1 by David D Lowe, 8 years ago

Has patch: set

A pull request fixing this has been created: https://github.com/django/django/pull/8157

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 9269dec0:

Fixed #27911 -- Doc'd how to register custom User with admin.

comment:3 by Tim Graham <timograham@…>, 8 years ago

In c7351ea:

[1.11.x] Fixed #27911 -- Doc'd how to register custom User with admin.

Backport of 9269dec05efae5deb89912a5b9a98ae75acdfff9 from master

comment:4 by David D Lowe, 8 years ago

Thank you!

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