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
|
|
|
|
args = '[appname ...]'
|
|
|
|
|
|
|
|
def handle_app(self, app, **options):
|
2012-04-29 00:02:01 +08:00
|
|
|
print('EXECUTE:AppCommand app=%s, options=%s' % (app, sorted(options.items())))
|
2011-10-14 02:51:33 +08:00
|
|
|
|