2008-07-10 20:12:41 +08:00
|
|
|
from django.core.management.base import AppCommand
|
|
|
|
|
2011-10-14 02:51:33 +08:00
|
|
|
|
2008-07-10 20:12:41 +08:00
|
|
|
class Command(AppCommand):
|
|
|
|
help = 'Test Application-based commands'
|
|
|
|
requires_model_validation = False
|
2013-12-28 16:53:02 +08:00
|
|
|
args = '[app_label ...]'
|
2008-07-10 20:12:41 +08:00
|
|
|
|
2013-12-27 22:17:56 +08:00
|
|
|
def handle_app_config(self, app_config, **options):
|
|
|
|
print('EXECUTE:AppCommand name=%s, options=%s' % (app_config.name, sorted(options.items())))
|