Update db_models.py
This commit is contained in:
parent
6c32f80bc9
commit
bae376a479
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ class User(DataBaseModel, UserMixin):
|
|||
max_length=32,
|
||||
null=True,
|
||||
help_text="English|Chinese",
|
||||
default="Chinese" if "zh_CN" in os.getenv("LANG", "") else "English")
|
||||
default="Chinese" if "zh_CN" in os.getenv("LANG", "") else "English")
|
||||
color_schema = CharField(
|
||||
max_length=32,
|
||||
null=True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue