summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2018-05-03 11:38:29 +0430
committerCarlton Gibson <carlton.gibson@noumenal.es>2018-05-03 09:08:29 +0200
commit816b8d9518c41f034dcbacfd1f1826f2366975e5 (patch)
tree997a10e0626c8aa06631a7056ef8ff5d56e33edc /docs
parent98019df855fb8fb93e4e9505afeedcad29da3125 (diff)
Fixed #29358 -- Added a system check to prohibit models with more than one primary_key field.
Diffstat (limited to 'docs')
-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 1b9fa18328..9690b5a99b 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -295,6 +295,7 @@ Models
as it collides with the query lookup syntax.
* **models.E025**: The property ``<property name>`` clashes with a related
field accessor.
+* **models.E026**: Model can not contain more than one ``primary_key`` field.
Security
--------