mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-23 06:30:00 +08:00
Update db_models.py
This commit is contained in:
parent
6c32f80bc9
commit
bae376a479
@ -386,7 +386,7 @@ class User(DataBaseModel, UserMixin):
|
|||||||
max_length=32,
|
max_length=32,
|
||||||
null=True,
|
null=True,
|
||||||
help_text="English|Chinese",
|
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(
|
color_schema = CharField(
|
||||||
max_length=32,
|
max_length=32,
|
||||||
null=True,
|
null=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user