mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Migrated built-in AppCommands to use handle_app_config.
This commit is contained in:
@@ -6,5 +6,5 @@ class Command(AppCommand):
|
||||
requires_model_validation = False
|
||||
args = '[appname ...]'
|
||||
|
||||
def handle_app(self, app, **options):
|
||||
print('EXECUTE:AppCommand app=%s, options=%s' % (app, sorted(options.items())))
|
||||
def handle_app_config(self, app_config, **options):
|
||||
print('EXECUTE:AppCommand name=%s, options=%s' % (app_config.name, sorted(options.items())))
|
||||
|
||||
Reference in New Issue
Block a user