diff --git a/mia_core/views.py b/mia_core/views.py index 3ab6924..ee0f7fa 100644 --- a/mia_core/views.py +++ b/mia_core/views.py @@ -351,7 +351,8 @@ class MyAccountFormView(UserFormView): def get_success_url(self) -> str: """Returns the URL on success.""" - return reverse("mia_core:my-account") + return reverse("mia_core:my-account", + current_app=self.request.resolver_match.namespace) def get_object(self) -> Optional[Model]: """Finds and returns the current object, or None on a create form."""