Skip to content

Commit

Permalink
Fix custom queryset tests for Django<1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarrois committed Mar 27, 2015
1 parent 48a1e4a commit 71f5d76
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/djapp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -104,4 +100,4 @@ class WithCustomManager(models.Model):

foo = models.CharField(max_length=20)

objects = CustomManager.from_queryset(CustomQuerySet)()
objects = CustomManager()

0 comments on commit 71f5d76

Please sign in to comment.