See #297: removed unused variables

This commit is contained in:
Eliot Berriot 2018-06-09 17:41:59 +02:00
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

@ -41,7 +41,6 @@ class Command(BaseCommand):
script["entrypoint"](self, **options)
def show_help(self):
indentation = 4
self.stdout.write("")
self.stdout.write("Available scripts:")
self.stdout.write("Launch with: python manage.py <script_name>")

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]: