@@ -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']