Skip to content

Commit 2f68029

Browse files
committed
Do not allow 00 revisions if we are in first cut off. Fixes ietf-tools#580
- Legacy-Id: 2838
1 parent 63d78ed commit 2f68029

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/submit/forms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def clean(self):
129129
self.get_draft()
130130
self.group=self.get_working_group()
131131
self.check_previous_submission()
132+
if self.draft.revision == '00' and self.in_first_cut_off:
133+
raise forms.ValidationError(mark_safe(self.cutoff_warning))
132134
self.check_tresholds()
133135
return super(UploadForm, self).clean()
134136

0 commit comments

Comments
 (0)