Skip to content

Commit

Permalink
frontend: align delete_after_days validators
Browse files Browse the repository at this point in the history
  • Loading branch information
majamassarini committed Jul 12, 2024
1 parent 160a1da commit 22ce85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/coprs_frontend/coprs/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ class F(CoprForm):
"Delete after days",
validators=[
wtforms.validators.Optional(),
wtforms.validators.NumberRange(min=0, max=60),
wtforms.validators.NumberRange(min=-1, max=720),
],
render_kw={'disabled': bool(copr and copr.persistent)})

Expand Down

0 comments on commit 22ce85e

Please sign in to comment.