If I change the label to project.auth, then I have to change the
AUTH_USER_MODEL to 'project.auth.User'.
This currently give an error that says that 'project.auth.User' is not of
the form 'app_label.UserModel' even when it is. This because of the code
here:https://github.com/django/django/blob/master/django/contrib/auth/checks.py#L15
that assumes that anything before the first split is a label and after is
the model name.
I would like to fix this issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/32287>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: SuyogSoti (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/32287#comment:1>
* status: new => closed
* resolution: => invalid
* easy: 1 => 0
Comment:
`AppConfig.label` must be a valid Python identifier, it cannot contain
dots, see
[https://docs.djangoproject.com/en/3.1/ref/applications/#django.apps.AppConfig.label
docs].
--
Ticket URL: <https://code.djangoproject.com/ticket/32287#comment:2>