Opened 5 years ago

Closed 5 years ago

#22467 closed Cleanup/optimization (fixed)

Example in post_migrate signal is misleading

Reported by: valberg Owned by: nobody
Component: Documentation Version: 1.7-beta-1
Severity: Normal Keywords: signals migration
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I was reading up on documentation on the post_migrate signal:

And seems to me that the example is just a copy paste of the post_syncdb one.

I recieve an "AssertionError: Signal receivers must be callable" error when just passing in my models module.

Github reference:

Change History (2)

comment:1 Changed 5 years ago by valberg

Hmm, okay. Seems I just misread and thought of "Signal receivers" as the sender. Was calling my receiver in the connect() call.

But still, a models module isn't the same as a AppConfig is it?

comment:2 Changed 5 years ago by valberg

Resolution: fixed
Status: newclosed

Okay totally disregard this ticket, it was just a brainfart :)

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