diff options
| author | mpaolini <markopaolini@gmail.com> | 2012-12-30 23:59:02 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-01-03 22:04:55 +0100 |
| commit | 6248833d9e35926d6ccd4b4d602f7ea89fea0c74 (patch) | |
| tree | 0d90a8cebf490aa2cfab119fc36e742801e296f9 /docs/ref | |
| parent | ffa50ca35219aa328e8e4ecda450a53c27c2e710 (diff) | |
Added documentation for the 'db' argument of the post-syncdb signal.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/signals.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 0995789391..ca472bd60e 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -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 |
