[1.7.x] Added missing import in docs/ref/signals.txt.
Backport of 4a303341fc
from master
This commit is contained in:
parent
52eadbf5c0
commit
9cacc25037
|
@ -280,6 +280,8 @@ like this::
|
||||||
|
|
||||||
If we connected a handler like this::
|
If we connected a handler like this::
|
||||||
|
|
||||||
|
from django.db.models.signals import m2m_changed
|
||||||
|
|
||||||
def toppings_changed(sender, **kwargs):
|
def toppings_changed(sender, **kwargs):
|
||||||
# Do something
|
# Do something
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue