Opened 8 months ago

Closed 8 months ago

Last modified 8 months 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 timo 8 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 months ago by erikr

  • Component changed from Uncategorized to Documentation
  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from how to create initial superuser without syncdb command to Document how to create initial superuser without syncdb command
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/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 8 months ago by timo

comment:2 Changed 8 months ago by timo

  • Has patch set
  • Needs documentation unset

comment:3 Changed 8 months ago by areski

  • Triage Stage changed from Accepted to Ready for checkin

Reviewed, the patch looks good!

Last edited 8 months ago by areski (previous) (diff)

comment:4 Changed 8 months ago by Aymeric Augustin <aymeric.augustin@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 53a61d82b38b7c39fa8ec4bd3047014694e96f60:

Fixed #23062 -- Documented how to create superuser.

Patch by Tim Graham. Thanks areski for the review.

comment:5 Changed 8 months 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