Skip to content

Commit

Permalink
frontend: align delete_after_days validators
Browse files Browse the repository at this point in the history
Synchronizing defaults of two forms.
Should fix packit/packit-service#2446
  • Loading branch information
majamassarini committed Jul 12, 2024
1 parent 160a1da commit c4c2efe
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 c4c2efe

Please sign in to comment.