[1.3.X] Fixes #15862 -- Error in post_syncdb documentation example. Thanks for the report and patch andialbrecht.
Backport of r16091 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9269b606ba
commit
fe2713dd5e
|
@ -388,7 +388,7 @@ Arguments sent with this signal:
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue