Added missing import in docs/ref/signals.txt.
This commit is contained in:
parent
e9264bc25d
commit
4a303341fc
|
@ -277,6 +277,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