summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-10-06 14:06:33 -0600
committerCarl Meyer <carl@oddbird.net>2014-10-06 14:06:33 -0600
commit6f6e7d01dce94668e178b26da547c4643ed3a6cc (patch)
treeb8a3ce4c129345efdd9e5e7297181aaaf00e2db0 /docs
parent51165401be3e9d084c6a3ebb99246e5bb29bb752 (diff)
parent1e5e2a470768549117ac4696ce3e8b4e51d65664 (diff)
Merge pull request #3308 from aericson/ticket_22064
Fixed #22064 -- Add check for related_name
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index aa3f61117c..841c8f4c48 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -117,6 +117,8 @@ Related Fields
``<field name>``.
* **fields.E305**: Field name ``<field name>`` clashes with reverse query name
for ``<field name>``.
+* **fields.E306**: Related name must be a valid Python identifier or end with
+ a ``'+'``.
* **fields.E310**: None of the fields ``<field1>``, ``<field2>``, ... on model
``<model>`` have a ``unique=True`` constraint.
* **fields.E311**: ``<model>`` must set ``unique=True`` because it is