Remove redundant call to super().
This commit is contained in:
parent
35a8de7f07
commit
3272a25a8d
1 changed files with 0 additions and 1 deletions
|
@ -54,6 +54,5 @@ class AssignmentForm(forms.ModelForm):
|
|||
]
|
||||
|
||||
def clean_period_ends(self):
|
||||
cleaned_data = super().clean()
|
||||
if 'period_begins' in cleaned_data and 'period_ends' in cleaned_data and cleaned_data['period_begins'] > cleaned_data['period_ends']:
|
||||
raise ValidationError('End of period is before start')
|
||||
|
|
Loading…
Reference in a new issue