blob: f0981eba2d2fac4dc4e2e3ea844dbb796600851b (
plain)
1
2
3
4
5
6
7
8
9
10
|
from django.core.management.base import AppCommand
class Command(AppCommand):
help = 'Test Application-based commands'
requires_system_checks = False
args = '[app_label ...]'
def handle_app_config(self, app_config, **options):
print('EXECUTE:AppCommand name=%s, options=%s' % (app_config.name, sorted(options.items())))
|