Parcourir la source

Added missing import in docs/ref/signals.txt.

Alexey Efimov il y a 10 ans
Parent
commit
4a303341fc
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      docs/ref/signals.txt

+ 2 - 0
docs/ref/signals.txt

@@ -277,6 +277,8 @@ like this::
 
 If we connected a handler like this::
 
+    from django.db.models.signals import m2m_changed
+
     def toppings_changed(sender, **kwargs):
         # Do something
         pass