From 71f5d76c5ecb2b88cd734c9f2611d7dfad1dd923 Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Fri, 27 Mar 2015 17:57:10 +0100 Subject: Fix custom queryset tests for Django<1.7 --- tests/djapp/models.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests') 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() -- cgit v1.2.3