Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adde two "versionadded" markers, thanks to mYk for noticing.

  • Loading branch information...
commit 1b81f328f4fb74d35a8397385fbc18aef03ac297 1 parent bbbd698
Alex Gaynor authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/ref/models/fields.txt
4 docs/ref/models/fields.txt
View
@@ -1069,6 +1069,8 @@ define the details of how the relation works.
.. attribute:: ForeignKey.db_constraint
+ .. versionadded:: 1.6
+
Controls whether or not a constraint should be created in the database for
this foreign key. The default is ``True``, and that's almost certainly what
you want; setting this to ``False`` can be very bad for data integrity.
@@ -1229,6 +1231,8 @@ that control how the relationship functions.
.. attribute:: ManyToManyField.db_constraint
+ .. versionadded:: 1.6
+
Controls whether or not constraints should be created in the database for
the foreign keys in the intermediary table. The default is ``True``, and
that's almost certainly what you want; setting this to ``False`` can be
Please sign in to comment.
Something went wrong with that request. Please try again.