mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-18 12:30:35 +03:00
Update test if django_filters is not installed (Django 1.6 and Django 1.7)
This commit is contained in:
parent
69a1b35cfb
commit
cd10971aa4
|
@ -91,7 +91,7 @@ class CreatePetMultiple(AuthMutationMixin, graphene.Mutation):
|
|||
pet = Pet.objects.create(name=pet_name)
|
||||
return CreatePet(pet=pet)
|
||||
|
||||
|
||||
if DJANGO_FILTER_INSTALLED:
|
||||
class PetFilterConnection(AuthDjangoFilterConnectionField):
|
||||
_permission = 'app.create_pet'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user