1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #29392 -- Disallowed use of abbreviated forms of --settings and --pythonpath management command options.

This commit is contained in:
Ryan P Kilby
2018-05-08 14:50:35 -04:00
committed by Tim Graham
parent 265506bbc3
commit 2dcc5d629a
4 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
from django.core.management.base import BaseCommand
class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument('--set')
def handle(self, **options):
self.stdout.write('Set %s' % options['set'])