Przeglądaj źródła

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

Alexey Efimov 10 lat temu
rodzic
commit
4a303341fc
1 zmienionych plików z 2 dodań i 0 usunięć
  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