[Django] #28114: Using a custom user model when starting a project: default code generation.

7 views
Skip to first unread message

Django

unread,
Apr 22, 2017, 7:14:29 AM4/22/17
to django-...@googlegroups.com
#28114: Using a custom user model when starting a project: default code generation.
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
RichardProsser |
Type: New | Status: new
feature |
Component: Core | Version: 1.11
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/28114>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 22, 2017, 9:46:27 AM4/22/17
to django-...@googlegroups.com
#28114: Using a custom user model when starting a project: default code generation.
-------------------------------------+-------------------------------------
Reporter: RichardProsser | Owner: nobody
Type: New feature | Status: closed
Component: Core (Management | Version: 1.11
commands) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #27909.

--
Ticket URL: <https://code.djangoproject.com/ticket/28114#comment:1>

Reply all
Reply to author
Forward
0 new messages