0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Documented --database option for migrate.

Thanks Mike O'Connor for the reporty.
This commit is contained in:
Tim Graham 2014-08-27 08:01:30 -04:00
parent 83762da3fb
commit 6aae07fe61

View File

@ -710,6 +710,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