Changeset - c9a76ea17fe3
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 2 years ago 2021-12-10 23:25:57
ben@sturm.com.au
assignment: Fix period ends in email.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/assignment/forms.py
Show inline comments
...
 
@@ -65,3 +65,5 @@ class AssignmentForm(forms.ModelForm):
 

	
 
        if self.cleaned_data['period_end_type'] == 'a specific past date' and not self.cleaned_data['period_ends']:
 
            raise ValidationError('This field is required')
 

	
 
        return self.cleaned_data['period_ends']
0 comments (0 inline, 0 general)