Opened 2 years ago

Closed 2 years ago

Last modified 2 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 2 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 2 years ago by Erik Romijn

Component: UncategorizedDocumentation
Needs documentation: set
Needs tests: unset
Patch needs improvement: unset
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.

Changed 2 years ago by Tim Graham

Attachment: 23062.diff added

comment:2 Changed 2 years ago by Tim Graham

Has patch: set
Needs documentation: unset

comment:3 Changed 2 years ago by Areski Belaid

Triage Stage: AcceptedReady for checkin

Reviewed, the patch looks good!

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

comment:4 Changed 2 years ago by Aymeric Augustin <aymeric.augustin@…>

Resolution: fixed
Status: newclosed

In 53a61d82b38b7c39fa8ec4bd3047014694e96f60:

Fixed #23062 -- Documented how to create superuser.

Patch by Tim Graham. Thanks areski for the review.

comment:5 Changed 2 years ago by Aymeric Augustin <aymeric.augustin@…>

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