Update db_models.py

This commit is contained in:
KevinHuSh
2024-05-21 12:02:22 +08:00
committed by GitHub
parent 6c32f80bc9
commit bae376a479

View File

@ -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,