summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/djapp/models.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/djapp/models.py b/tests/djapp/models.py
index 1c1fd8e..513c47c 100644
--- a/tests/djapp/models.py
+++ b/tests/djapp/models.py
@@ -90,10 +90,6 @@ class WithSignals(models.Model):
foo = models.CharField(max_length=20)
-class CustomQuerySet(models.QuerySet):
- pass
-
-
class CustomManager(models.Manager):
def create(self, arg=None, **kwargs):
@@ -104,4 +100,4 @@ class WithCustomManager(models.Model):
foo = models.CharField(max_length=20)
- objects = CustomManager.from_queryset(CustomQuerySet)()
+ objects = CustomManager()