1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Added documentation for the 'db' argument of the post-syncdb signal.

This commit is contained in:
mpaolini
2012-12-30 23:59:02 +01:00
committed by Florian Apolloner
parent ffa50ca352
commit 6248833d9e
2 changed files with 5 additions and 1 deletions

View File

@@ -406,6 +406,10 @@ Arguments sent with this signal:
For example, the :mod:`django.contrib.auth` app only prompts to create a
superuser when ``interactive`` is ``True``.
``db``
The database alias used for synchronization. Defaults to the ``default``
database.
For example, ``yourapp/management/__init__.py`` could be written like::
from django.db.models.signals import post_syncdb