Rename 'handle_noargs' method to 'handle'

This commit is contained in:
Rick Vause
2015-12-11 12:44:36 +01:00
parent 298daff54f
commit 496df05a1c

View File

@@ -262,7 +262,7 @@ class Command(BaseCommand):
ext_list[i] = '.%s' % ext_list[i]
return set(ext_list)
def handle_noargs(self, **options):
def handle(self, **options):
if not settings.COMPRESS_ENABLED and not options.get("force"):
raise CommandError(
"Compressor is disabled. Set the COMPRESS_ENABLED "