See #297: removed unused variables

This commit is contained in:
Eliot Berriot 2018-06-09 17:41:59 +02:00
parent 2b1c46317f
commit 639882bd34
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
50 changed files with 33 additions and 88 deletions

View file

@ -40,7 +40,6 @@ class ActionSerializer(serializers.Serializer):
return value
def validate_objects(self, value):
qs = None
if value == "all":
return self.queryset.all().order_by("id")
if type(value) in [list, tuple]: