summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@rd.io>2013-03-07 12:05:06 -0800
committerAlex Gaynor <alex.gaynor@rd.io>2013-03-07 12:05:06 -0800
commit1b81f328f4fb74d35a8397385fbc18aef03ac297 (patch)
treedb7b288177af6a481213d107d57e63cef0805c48 /docs
parentbbbd698c7a4dd19e6394660bece7e6e907b0a824 (diff)
Adde two "versionadded" markers, thanks to mYk for noticing.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 1b80196183..f29f41c11e 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -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