Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
569e0a299d
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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.