django/tests/admin_scripts/management/commands/custom_startproject.py

8 lines
279 B
Python
Raw Normal View History

from django.core.management.commands.startproject import Command as BaseCommand
class Command(BaseCommand):
def add_arguments(self, parser):
super().add_arguments(parser)
2016-04-08 02:04:45 +00:00
parser.add_argument('--extra', help='An arbitrary extra value passed to the context')