mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
parent
f68fa8b45d
commit
9c19aff7c7
1992 changed files with 139577 additions and 96284 deletions
|
@ -2,14 +2,17 @@ from django.core.management.base import BaseCommand
|
|||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Test basic commands'
|
||||
help = "Test basic commands"
|
||||
requires_system_checks = []
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('args', nargs='*')
|
||||
parser.add_argument('--option_a', '-a', default='1')
|
||||
parser.add_argument('--option_b', '-b', default='2')
|
||||
parser.add_argument('--option_c', '-c', default='3')
|
||||
parser.add_argument("args", nargs="*")
|
||||
parser.add_argument("--option_a", "-a", default="1")
|
||||
parser.add_argument("--option_b", "-b", default="2")
|
||||
parser.add_argument("--option_c", "-c", default="3")
|
||||
|
||||
def handle(self, *labels, **options):
|
||||
print('EXECUTE:BaseCommand labels=%s, options=%s' % (labels, sorted(options.items())))
|
||||
print(
|
||||
"EXECUTE:BaseCommand labels=%s, options=%s"
|
||||
% (labels, sorted(options.items()))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue