From 724e6008722acb9b69ea3d1749ac8c1125837d03 Mon Sep 17 00:00:00 2001 From: Craig de Stigter Date: Thu, 29 May 2014 10:26:57 +1200 Subject: [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 --- docs/ref/checks.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') 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 ````, 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 ````. +* **models.E017**: Proxy model ```` contains model fields. Fields ~~~~~~ -- cgit v1.3