diff --git a/opentech/apply/funds/views.py b/opentech/apply/funds/views.py index 31b4536c2fada2df244a4cbcf9f25967c15379d5..21bbdb86ca3142a482fd3adb44345c6390565155 100644 --- a/opentech/apply/funds/views.py +++ b/opentech/apply/funds/views.py @@ -72,7 +72,8 @@ class UpdateLeadView(DelegatedViewMixin, UpdateView): context_name = 'lead_form' def form_valid(self, form): - old_lead = form.instance.lead + # Fetch the old lead from the database + old_lead = self.get_object().lead response = super().form_valid(form) new_lead = form.instance.lead Activity.actions.create(