Răsfoiți Sursa

Fixed typo in refs #15579 comment.

Tim Graham 10 ani în urmă
părinte
comite
71c638fc55
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      django/db/models/deletion.py

+ 1 - 2
django/db/models/deletion.py

@@ -190,8 +190,7 @@ class Collector(object):
         models, the one case in which the cascade follows the forwards
         direction of an FK rather than the reverse direction.)
 
-        If 'keep_parents' is False, data of parent's models will be not
-        deleted.
+        If 'keep_parents' is True, data of parent model's will be not deleted.
         """
         if self.can_fast_delete(objs):
             self.fast_deletes.append(objs)