diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2012-03-12 22:33:18 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2012-03-12 22:33:18 +0000 |
| commit | 9d98b9eb4bee1c9d69694f37dc618c36ecfecb8d (patch) | |
| tree | b63bb246220d326288642080cb90c6222bf0c507 /tests/modeltests/defer/models.py | |
| parent | db512b4d8c8c8b6e8a0dbc217617b4de97d84b69 (diff) | |
Fix #17876: Corrected an exception (regression) raised where select_realted and only is used on a proxy model. Thanks milosu and charettes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/defer/models.py')
| -rw-r--r-- | tests/modeltests/defer/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modeltests/defer/models.py b/tests/modeltests/defer/models.py index 4fddd39d26..c64becf972 100644 --- a/tests/modeltests/defer/models.py +++ b/tests/modeltests/defer/models.py @@ -22,3 +22,7 @@ class Child(Primary): class BigChild(Primary): other = models.CharField(max_length=50) + +class ChildProxy(Child): + class Meta: + proxy=True |
