From 6248833d9e35926d6ccd4b4d602f7ea89fea0c74 Mon Sep 17 00:00:00 2001 From: mpaolini Date: Sun, 30 Dec 2012 23:59:02 +0100 Subject: Added documentation for the 'db' argument of the post-syncdb signal. --- docs/ref/signals.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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 -- cgit v1.3