mirror of
https://github.com/django/django.git
synced 2025-05-06 06:56:30 +00:00
[1.6.x] Added missing import in docs/ref/signals.txt.
Backport of 4a303341fc from master
This commit is contained in:
parent
b877697472
commit
24d84520aa
@ -276,6 +276,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…
x
Reference in New Issue
Block a user