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

Thanks Mike O'Connor for the reporty.

Backport of 6aae07fe61 from master
This commit is contained in:
Tim Graham 2014-08-27 08:01:30 -04:00
parent e86030b3be
commit 574f8f560f
1 changed files with 3 additions and 0 deletions

View File

@ -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