summaryrefslogtreecommitdiff
path: root/docs/ref/checks.txt
diff options
context:
space:
mode:
authorMarc Egli <frog32@me.com>2014-04-14 14:41:47 -0400
committerSimon Charette <charette.s@gmail.com>2014-04-14 16:49:40 -0400
commit0bcc92c6917738caa2f08ec16d26fad62974fb47 (patch)
treee144e332202a3b63b623bc05716fcb522028ffb3 /docs/ref/checks.txt
parent17c18844561431aabed89c3bd48de951db7d13ab (diff)
Fixed #22356 -- Added a check to make sure unique_together fields are local.
Diffstat (limited to 'docs/ref/checks.txt')
-rw-r--r--docs/ref/checks.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 98a6e00e73..67dc335d80 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -44,6 +44,7 @@ Models
* **models.E013**: ``index_together/unique_together`` refers to a ManyToManyField ``<field name>``, but ManyToManyFields are not supported for that option.
* **models.E014**: ``ordering`` must be a tuple or list (even if you want to order by only one field).
* **models.E015**: ``ordering`` refers to the non-existent field ``<field name>``.
+* **models.E016**: ``index_together/unique_together`` refers to field ``<field_name>`` which is not local to model ``<model>``.
Fields
~~~~~~