Skip to content

Commit c381e34

Browse files
Julius Tranquillipraiskup
authored andcommitted
frontend: keep temp projects up to 2 years
Changing the limit in forms.py, updating max value to 720 days. Fixes: #2927 Closes: #2931
1 parent 739a509 commit c381e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/coprs_frontend/coprs/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ class CoprForm(BaseForm):
556556
"Delete after days",
557557
validators=[
558558
wtforms.validators.Optional(),
559-
wtforms.validators.NumberRange(min=-1, max=60)
559+
wtforms.validators.NumberRange(min=-1, max=720) #max allowable value for delete_after_days updated to 2 years
560560
],
561561
filters=[(lambda x : -1 if x is None else x)])
562562

0 commit comments

Comments
 (0)