summaryrefslogtreecommitdiffstats
path: root/engagements/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'engagements/forms.py')
-rw-r--r--engagements/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/engagements/forms.py b/engagements/forms.py
index 401d6a9..0fd44ea 100644
--- a/engagements/forms.py
+++ b/engagements/forms.py
@@ -210,7 +210,7 @@ class EngagementCreateForm(forms.ModelForm):
if proposed_start_date > proposed_end_date:
raise ValidationError("The proposed start date must be before the proposed end date.")
- return proposed_start_date
+ return proposed_end_date
class Meta:
model = Engagement