فهرست منبع

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 سال پیش
والد
کامیت
569e0a299d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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.