Rename 'handle_noargs' method to 'handle'
This commit is contained in:
@@ -262,7 +262,7 @@ class Command(BaseCommand):
|
|||||||
ext_list[i] = '.%s' % ext_list[i]
|
ext_list[i] = '.%s' % ext_list[i]
|
||||||
return set(ext_list)
|
return set(ext_list)
|
||||||
|
|
||||||
def handle_noargs(self, **options):
|
def handle(self, **options):
|
||||||
if not settings.COMPRESS_ENABLED and not options.get("force"):
|
if not settings.COMPRESS_ENABLED and not options.get("force"):
|
||||||
raise CommandError(
|
raise CommandError(
|
||||||
"Compressor is disabled. Set the COMPRESS_ENABLED "
|
"Compressor is disabled. Set the COMPRESS_ENABLED "
|
||||||
|
|||||||
Reference in New Issue
Block a user