Commit 574f8f56 authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Documented --database option for migrate.

Thanks Mike O'Connor for the reporty.

Backport of 6aae07fe from master
parent e86030b3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -695,6 +695,9 @@ Unlike ``syncdb``, this command does not prompt you to create a superuser if
one doesn't exist (assuming you are using :mod:`django.contrib.auth`). Use
:djadmin:`createsuperuser` to do that if you wish.

The :djadminopt:`--database` option can be used to specify the database to
migrate.

.. django-admin-option:: --fake

The ``--fake`` option tells Django to mark the migrations as having been