Get home page and login working #14

Merged
Jaculabilis merged 20 commits from tvb/server-auth into develop 2021-06-29 03:23:59 +00:00
1 changed files with 4 additions and 3 deletions
Showing only changes of commit a6e2c8e6db - Show all commits

View File

@ -1,4 +1,3 @@
from argparse import BooleanOptionalAction
import logging
from sqlalchemy import update
@ -42,8 +41,10 @@ def command_create(args):
@add_argument("name")
@add_argument("--public", action=BooleanOptionalAction)
@add_argument("--join", action=BooleanOptionalAction)
@add_argument("--public", dest="public", action="store_const", const=True)
@add_argument("--no-public", dest="public", action="store_const", const=False)
@add_argument("--join", dest="join", action="store_const", const=True)
@add_argument("--no-join", dest="join", action="store_const", const=False)
def command_edit(args):
"""
Update a lexicon's configuration.