Changeset - 3272a25a8df5
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 6 months ago 2021-12-07 06:06:37
ben@sturm.com.au
Remove redundant call to super().
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/assignment/forms.py
Show inline comments
...
 
@@ -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')
0 comments (0 inline, 0 general)