test_command.py 258 B

123456789
  1. from django.core.management.base import BaseCommand
  2. class Command(BaseCommand):
  3. def add_arguments(self, parser):
  4. parser.add_argument("--list", action="store_true", help="Print all options")
  5. def handle(self, *args, **options):
  6. pass