1
0
mirror of https://github.com/django/django.git synced 2025-02-04 14:37:19 +00:00
2013-12-28 09:43:06 +01:00

11 lines
348 B
Python

from django.core.management.base import AppCommand
class Command(AppCommand):
help = 'Test Application-based commands'
requires_model_validation = False
args = '[appname ...]'
def handle_app_config(self, app_config, **options):
print('EXECUTE:AppCommand name=%s, options=%s' % (app_config.name, sorted(options.items())))