Author: SmileyChris
Date: 2011-04-22 14:25:16 -0700 (Fri, 22 Apr 2011)
New Revision: 16092
Modified:
django/branches/releases/1.3.X/docs/ref/signals.txt
Log:
[1.3.X] Fixes #15862 -- Error in post_syncdb documentation example. Thanks for
the report and patch andialbrecht.
Backport of r16091 from trunk.
Modified: django/branches/releases/1.3.X/docs/ref/signals.txt
===================================================================
--- django/branches/releases/1.3.X/docs/ref/signals.txt 2011-04-22 21:23:26 UTC
(rev 16091)
+++ django/branches/releases/1.3.X/docs/ref/signals.txt 2011-04-22 21:25:16 UTC
(rev 16092)
@@ -388,7 +388,7 @@
For example, the :mod:`django.contrib.auth` app only prompts to create a
superuser when ``interactive`` is ``True``.
-For example, yourapp/signals/__init__.py could be written like::
+For example, ``yourapp/management/__init__.py`` could be written like::
from django.db.models.signals import post_syncdb
import yourapp.models
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.