Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#23062 closed Cleanup/optimization (fixed)

Document how to create initial superuser without syncdb command

Reported by: manelclos@… Owned by: nobody
Component: Documentation Version: 1.7-rc-1
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Attachments (1)

23062.diff (721 bytes ) - added by Tim Graham 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Sasha Romijn, 10 years ago

Component: UncategorizedDocumentation
Needs documentation: set
Summary: how to create initial superuser without syncdb commandDocument how to create initial superuser without syncdb command
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

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.

by Tim Graham, 10 years ago

Attachment: 23062.diff added

comment:2 by Tim Graham, 10 years ago

Has patch: set
Needs documentation: unset

comment:3 by Areski Belaid, 10 years ago

Triage Stage: AcceptedReady for checkin

Reviewed, the patch looks good!

Last edited 10 years ago by Areski Belaid (previous) (diff)

comment:4 by Aymeric Augustin <aymeric.augustin@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 53a61d82b38b7c39fa8ec4bd3047014694e96f60:

Fixed #23062 -- Documented how to create superuser.

Patch by Tim Graham. Thanks areski for the review.

comment:5 by Aymeric Augustin <aymeric.augustin@…>, 10 years ago

In 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.

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