[Django] #23062: how to create initial superuser without syncdb command

30 views
Skip to first unread message

Django

unread,
Jul 21, 2014, 7:46:19 AM7/21/14
to django-...@googlegroups.com
#23062: how to create initial superuser without syncdb command
-------------------------------+----------------------
Reporter: manelclos@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7-rc-1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+----------------------
Hi,

In Django 1.7, after startproject, you will now run migrate, but this
won't ask to create the superuser. Is there any new command / option
planned? Saying migrate is an alias or the replacement for syncdb is
confusing as it does not behaves in the same way.

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

Django

unread,
Jul 21, 2014, 7:59:06 AM7/21/14
to django-...@googlegroups.com
#23062: Document how to create initial superuser without syncdb command
--------------------------------------+------------------------------------
Reporter: manelclos@… | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.7-rc-1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by erikr):

* needs_better_patch: => 0
* component: Uncategorized => Documentation
* needs_tests: => 0
* needs_docs: => 1
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted


Comment:

This can (and could always) be done with `./manage.py createsuperuser`.
Perhaps it would be useful to mention that fact in the appropriate place
in the docs.

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

Django

unread,
Jul 22, 2014, 7:48:01 PM7/22/14
to django-...@googlegroups.com
#23062: Document how to create initial superuser without syncdb command
--------------------------------------+------------------------------------
Reporter: manelclos@… | Owner: nobody

Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.7-rc-1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timo):

* needs_docs: 1 => 0
* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/23062#comment:2>

Django

unread,
Jul 27, 2014, 7:45:34 AM7/27/14
to django-...@googlegroups.com
#23062: Document how to create initial superuser without syncdb command
-------------------------------------+-------------------------------------
Reporter: manelclos@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.7-rc-1
Component: Documentation | Resolution:
Severity: Normal | Triage Stage: Ready for
Keywords: | checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by areski):

* stage: Accepted => Ready for checkin


Comment:

Reviewed the patch looks good!

--
Ticket URL: <https://code.djangoproject.com/ticket/23062#comment:3>

Django

unread,
Jul 27, 2014, 9:49:35 AM7/27/14
to django-...@googlegroups.com
#23062: Document how to create initial superuser without syncdb command
-------------------------------------+-------------------------------------
Reporter: manelclos@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: 1.7-rc-1
Component: Documentation | Resolution: fixed

Severity: Normal | Triage Stage: Ready for
Keywords: | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Aymeric Augustin <aymeric.augustin@…>):

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


Comment:

In [changeset:"53a61d82b38b7c39fa8ec4bd3047014694e96f60"]:
{{{
#!CommitTicketReference repository=""
revision="53a61d82b38b7c39fa8ec4bd3047014694e96f60"
Fixed #23062 -- Documented how to create superuser.

Patch by Tim Graham. Thanks areski for the review.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23062#comment:4>

Django

unread,
Jul 27, 2014, 9:50:11 AM7/27/14
to django-...@googlegroups.com
#23062: Document how to create initial superuser without syncdb command
-------------------------------------+-------------------------------------
Reporter: manelclos@… | Owner: nobody

Type: | Status: closed
Cleanup/optimization | Version: 1.7-rc-1
Component: Documentation | Resolution: fixed
Severity: Normal | Triage Stage: Ready for
Keywords: | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Aymeric Augustin <aymeric.augustin@…>):

In [changeset:"d82cf95c5260eb690429f22055f7af9aa6ef2cb9"]:
{{{
#!CommitTicketReference repository=""
revision="d82cf95c5260eb690429f22055f7af9aa6ef2cb9"
[1.7.x] Fixed #23062 -- Documented how to create superuser.

Patch by Tim Graham. Thanks areski for the review.

Backport of 53a61d8 from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23062#comment:5>

Reply all
Reply to author
Forward
0 new messages