Do not allow 00 revisions if we are in first cut off. Fixes #580
- Legacy-Id: 2838
This commit is contained in:
parent
63d78edc0d
commit
2f68029530
|
@ -129,6 +129,8 @@ class UploadForm(forms.Form):
|
|||
self.get_draft()
|
||||
self.group=self.get_working_group()
|
||||
self.check_previous_submission()
|
||||
if self.draft.revision == '00' and self.in_first_cut_off:
|
||||
raise forms.ValidationError(mark_safe(self.cutoff_warning))
|
||||
self.check_tresholds()
|
||||
return super(UploadForm, self).clean()
|
||||
|
||||
|
|
Loading…
Reference in a new issue