Browse Source

Documented correct kwargs for post_syncdb/migrate.

d562527a rename the db to using in the wrong signal.

Thanks Maik Hoepfel for the report.
Aymeric Augustin 10 years ago
parent
commit
569e0a299d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/ref/signals.txt

+ 2 - 2
docs/ref/signals.txt

@@ -446,7 +446,7 @@ Arguments sent with this signal:
     For example, the :mod:`django.contrib.auth` app only prompts to create a
     superuser when ``interactive`` is ``True``.
 
-``using``
+``db``
     The alias of database on which a command will operate.
 
 post_migrate
@@ -487,7 +487,7 @@ Arguments sent with this signal:
     For example, the :mod:`django.contrib.auth` app only prompts to create a
     superuser when ``interactive`` is ``True``.
 
-``db``
+``using``
     The database alias used for synchronization. Defaults to the ``default``
     database.