summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/management/commands/base_command.py
blob: 0187a23b29da245653d98537500429bacfb939cc (plain)
1
2
3
4
5
6
7
8
9
from django.core.management.base import BaseCommand

class Command(BaseCommand):
    help = 'Test basic commands'
    requires_model_validation = False
    args = '[labels ...]'

    def handle(self, *labels, **options):
        print 'EXECUTE:BaseCommand labels=%s, options=%s' % (labels, sorted(options.items()))