mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
Made logging_preference a required field in the project edit form
This commit is contained in:
parent
bd30892865
commit
5d10374540
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class EditProjectForm(FlaskForm):
|
||||||
choices=LoggingMode.choices(),
|
choices=LoggingMode.choices(),
|
||||||
coerce=LoggingMode.coerce,
|
coerce=LoggingMode.coerce,
|
||||||
default=LoggingMode.default(),
|
default=LoggingMode.default(),
|
||||||
|
validators=[DataRequired()],
|
||||||
)
|
)
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
|
|
Loading…
Reference in a new issue