summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/management/commands/app_command.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-27 15:17:56 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-28 09:43:06 +0100
commita7add2f2965dac3c2f63b1459c8bde725250c977 (patch)
treee20361686abfe75edaf2ce69c4b78afd9173c434 /tests/admin_scripts/management/commands/app_command.py
parentbb8ec71f61066587aa3a8feb0aedab213422775a (diff)
Migrated built-in AppCommands to use handle_app_config.
Diffstat (limited to 'tests/admin_scripts/management/commands/app_command.py')
-rw-r--r--tests/admin_scripts/management/commands/app_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_scripts/management/commands/app_command.py b/tests/admin_scripts/management/commands/app_command.py
index 5cbddb6e96..5f221f48ee 100644
--- a/tests/admin_scripts/management/commands/app_command.py
+++ b/tests/admin_scripts/management/commands/app_command.py
@@ -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())))