2008-07-10 20:12:41 +08:00
|
|
|
from django.core.management.base import LabelCommand
|
|
|
|
|
2011-10-14 02:51:33 +08:00
|
|
|
|
2008-07-10 20:12:41 +08:00
|
|
|
class Command(LabelCommand):
|
|
|
|
help = "Test Label-based commands"
|
2020-05-14 06:00:41 +08:00
|
|
|
requires_system_checks = []
|
2008-07-10 20:12:41 +08:00
|
|
|
|
|
|
|
def handle_label(self, label, **options):
|
2012-04-29 00:02:01 +08:00
|
|
|
print('EXECUTE:LabelCommand label=%s, options=%s' % (label, sorted(options.items())))
|