From f352c22458f929a8b0930a7027f5a4fac11a3d2d Mon Sep 17 00:00:00 2001 From: Vidya Ramakrishnan Date: Mon, 6 Nov 2023 19:39:15 +0530 Subject: [PATCH] Fix the profile transition form --- funnel/forms/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funnel/forms/profile.py b/funnel/forms/profile.py index 8236caf2a..f959281e0 100644 --- a/funnel/forms/profile.py +++ b/funnel/forms/profile.py @@ -91,7 +91,7 @@ class ProfileTransitionForm(forms.Form): def set_queries(self) -> None: """Prepare form for use.""" - self.transition.choices = list(self.edit_obj.state.transitions().items()) + self.transition.choices = list(self.edit_obj.profile_state.transitions().items()) @Account.forms('logo')