summaryrefslogtreecommitdiff
path: root/tests/proxy_models/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/proxy_models/models.py')
-rw-r--r--tests/proxy_models/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/proxy_models/models.py b/tests/proxy_models/models.py
index cb3975d4ac..6960042d78 100644
--- a/tests/proxy_models/models.py
+++ b/tests/proxy_models/models.py
@@ -85,6 +85,8 @@ class StatusPerson(MyPerson):
"""
status = models.CharField(max_length=80)
+ objects = models.Manager()
+
# We can even have proxies of proxies (and subclass of those).
@@ -96,6 +98,8 @@ class MyPersonProxy(MyPerson):
class LowerStatusPerson(MyPersonProxy):
status = models.CharField(max_length=80)
+ objects = models.Manager()
+
@python_2_unicode_compatible
class User(models.Model):