#14712 closed (fixed)
Example for post_syncdb signal.
| Reported by: | Frank Wiles | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.2 |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
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.
Attachments (1)
Change History (4)
by , 15 years ago
| Attachment: | post_syncdb_example.diff added |
|---|
comment:1 by , 15 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
docs patch