Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -4,15 +4,14 @@ from judge.models import Judge
|
|||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'create a judge'
|
||||
help = "create a judge"
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('name', help='the name of the judge')
|
||||
parser.add_argument('auth_key', help='authentication key for the judge')
|
||||
parser.add_argument("name", help="the name of the judge")
|
||||
parser.add_argument("auth_key", help="authentication key for the judge")
|
||||
|
||||
def handle(self, *args, **options):
|
||||
judge = Judge()
|
||||
judge.name = options['name']
|
||||
judge.auth_key = options['auth_key']
|
||||
judge.name = options["name"]
|
||||
judge.auth_key = options["auth_key"]
|
||||
judge.save()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue