Opened 7 years ago

Closed 7 years ago

#28114 closed New feature (duplicate)

Using a custom user model when starting a project: default code generation.

Reported by: Richard Prosser Owned by: nobody
Component: Core (Management commands) Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project: "If you’re starting a new project, it’s highly recommended to set up a custom user model, even if the default User model is sufficient for you".

If that is the case, surely it would be better to generate such code by default, via 'django-admin startapp' or the like?

I am fairly new to Django and I nearly missed this point for my own application.

Regards,

Richard

Change History (1)

comment:1 by Tim Graham, 7 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #27909.

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