Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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)

post_syncdb_example.diff (708 bytes ) - added by Frank Wiles 14 years ago.
docs patch

Download all attachments as: .zip

Change History (4)

by Frank Wiles, 14 years ago

Attachment: post_syncdb_example.diff added

docs patch

comment:1 by Gabriel Hurley, 14 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 14 years ago

Resolution: fixed
Status: newclosed

(In [15104]) Fixed #14712 - Add an example for the post_syncdb signal. Thanks Frank Wiles for the patch.

comment:3 by Tim Graham, 14 years ago

(In [15105]) [1.2.X] Fixed #14712 - Add an example for the post_syncdb signal. Thanks Frank Wiles for the patch.

Backport of r15104 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top