changeset 307 | c6bca38c1cbf |
306:5ff1fc726848 | 307:c6bca38c1cbf |
---|---|
1 from django.core.management.base import AppCommand |
|
2 |
|
3 class Command(AppCommand): |
|
4 help = 'Test Application-based commands' |
|
5 requires_model_validation = False |
|
6 args = '[appname ...]' |
|
7 |
|
8 def handle_app(self, app, **options): |
|
9 print 'EXECUTE:AppCommand app=%s, options=%s' % (app, sorted(options.items())) |
|
10 |