Skip to content
Myr

Merge pull request #1122 from milesrichardson/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fixed typo -- missing "are" in docs/signals.rst

authored by Daniel Neuhäuser · committed by Daniel Neuhäuser · parents 8d3ee01, c8ce532 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/signals.rst+1 added-1 removed
146 unmodified lines
147 def save(self):148 model_saved.send(self)149150Try to always pick a good sender. If you have a class that is emitting a151signal, pass `self` as sender. If you emitting a signal from a random151signal, pass `self` as sender. If you are emitting a signal from a random152function, you can pass ``current_app._get_current_object()`` as sender.153154.. admonition:: Passing Proxies as Senders155
197 unmodified lines