summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig de Stigter <craig.destigter@koordinates.com>2014-05-29 10:26:57 +1200
committerTim Graham <timograham@gmail.com>2014-06-02 09:34:31 -0400
commit724e6008722acb9b69ea3d1749ac8c1125837d03 (patch)
tree6b19665edc93f0174344ca783fd8d229dfb31ce7 /docs
parent160fd6c7c1699e0be89d9a48f4cc9386bab0e9de (diff)
[1.7.x] Fixed #22690 -- Added a check for proxy models containing fields.
Removed the FieldError raised by ModelBase.__new__ in this case. Backport of ce993efda8 from master
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 0b101c1816..5240694775 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.E017**: Proxy model ``<model>`` contains model fields.
Fields
~~~~~~