Migrated built-in AppCommands to use handle_app_config.

This commit is contained in:
Aymeric Augustin 2013-12-27 15:17:56 +01:00
parent bb8ec71f61
commit a7add2f296
9 changed files with 51 additions and 26 deletions

View file

@ -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())))