mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Documented correct kwargs for post_syncdb/migrate.
d562527a rename the db to using in the wrong signal.
Thanks Maik Hoepfel for the report.
This commit is contained in:
@@ -446,7 +446,7 @@ Arguments sent with this signal:
|
|||||||
For example, the :mod:`django.contrib.auth` app only prompts to create a
|
For example, the :mod:`django.contrib.auth` app only prompts to create a
|
||||||
superuser when ``interactive`` is ``True``.
|
superuser when ``interactive`` is ``True``.
|
||||||
|
|
||||||
``using``
|
``db``
|
||||||
The alias of database on which a command will operate.
|
The alias of database on which a command will operate.
|
||||||
|
|
||||||
post_migrate
|
post_migrate
|
||||||
@@ -487,7 +487,7 @@ Arguments sent with this signal:
|
|||||||
For example, the :mod:`django.contrib.auth` app only prompts to create a
|
For example, the :mod:`django.contrib.auth` app only prompts to create a
|
||||||
superuser when ``interactive`` is ``True``.
|
superuser when ``interactive`` is ``True``.
|
||||||
|
|
||||||
``db``
|
``using``
|
||||||
The database alias used for synchronization. Defaults to the ``default``
|
The database alias used for synchronization. Defaults to the ``default``
|
||||||
database.
|
database.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user