#14712: Example for post_syncdb signal.
-----------------------------+----------------------------------------------
Reporter: frankwiles | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.2
Keywords: | Stage: Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------+----------------------------------------------
While in retrospect, the documentation for post_syncdb does inform the
user it wasn't entirely clear to me that you need to pass the models.py
itself as sender and not a specific model. I figured this docs patch
might clarify it for others. It adds a simple example at the bottom of
the current post_syncdb docs.
--
Ticket URL: <http://code.djangoproject.com/ticket/14712>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
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.