diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-27 15:17:56 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-28 09:43:06 +0100 |
| commit | a7add2f2965dac3c2f63b1459c8bde725250c977 (patch) | |
| tree | e20361686abfe75edaf2ce69c4b78afd9173c434 /tests/admin_scripts/management | |
| parent | bb8ec71f61066587aa3a8feb0aedab213422775a (diff) | |
Migrated built-in AppCommands to use handle_app_config.
Diffstat (limited to 'tests/admin_scripts/management')
| -rw-r--r-- | tests/admin_scripts/management/commands/app_command.py | 4 |
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()))) |
