#14712 closed (fixed)
Example for post_syncdb signal.
Description ¶
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.
Change History (4)
by , 14 years ago
Attachment: | post_syncdb_example.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
docs patch