File diff b0263491a0ee → c9a76ea17fe3
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']