#28998: Fix uniqueness problem in createsupperuser
-------------------------------------+-------------------------------------
Reporter: Hasan | Owner: nobody
Ramezani |
Type: Bug | Status: new
Component: Core | Version: 2.0
(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 |
-------------------------------------+-------------------------------------
when I create the superuser with `--username` and the user already exists,
command results in:
`django.db.utils.IntegrityError: UNIQUE constraint failed:
auth_user.username`
and there is no username uniqueness checking in this state. and same
behavior when I create the superuser with `--username` and `--noinput`.
--
Ticket URL: <https://code.djangoproject.com/ticket/28998>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.252298b9c6509b7f37b3af3c97a6a869%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.