Skip to content
Snippets Groups Projects
Commit eba17b1c authored by Teemu Autto's avatar Teemu Autto
Browse files

Use string for locale as it makes life less painful.

parent f3cbbeeb
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class User(UserMixin, db.Document):
password = StringField(required=True)
locale = EnumField(SupportedLocales)
locale = StringField(default=SupportedLocales.EN.value)
currency = StringField(max_length=3)
"The user's preferred currency."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment