summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-07-09 02:12:40 +0530
committerTim Graham <timograham@gmail.com>2014-07-09 16:01:09 -0400
commit011abb7d96c75f6154c15a8a0f997d8c27698679 (patch)
treeb73e4e4afa2b06ebb759b0533170aa167ebff627 /docs/ref/models
parent3a85aae2eacae836e2a92de77615569883b81932 (diff)
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
Thanks Loic Bistuer and Tim Graham for help and review.
Diffstat (limited to 'docs/ref/models')
-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 a99522c77c..3a64ad934a 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1448,6 +1448,10 @@ that control how the relationship functions.
If in doubt, leave it to its default of ``True``.
+:class:`ManyToManyField` does not support :attr:`~Field.validators`.
+
+:attr:`~Field.null` has no effect since there is no way to require a
+relationship at the database level.
.. _ref-onetoone: