Error in post_syncdb example
|Reported by:||Andi Albrecht||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The example given in the post_syncdb documentation seems to be wrong. In r15104 an example mentioning "yourapp/signals/init.py" was added, but the first paragraph of the post_syncdb documentation clearly states that the signal handlers must live in the management module.
The simple patch attached replaces "yourapp/signals/init.py" with "yourapp/management/init.py".
Change History (5)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|