Renamed the templates of the transactions in the Mia core application.
This commit is contained in:
parent
6ff9d0d4ff
commit
24db1af175
@ -302,7 +302,7 @@ class UserFormView(FormView):
|
|||||||
|
|
||||||
def get_success_url(self) -> str:
|
def get_success_url(self) -> str:
|
||||||
"""Returns the URL on success."""
|
"""Returns the URL on success."""
|
||||||
return reverse("mia_core:users.detail", args=(self.get_object(),),
|
return reverse("mia_core:users.detail", args=[self.get_object()],
|
||||||
current_app=self.request.resolver_match.namespace)
|
current_app=self.request.resolver_match.namespace)
|
||||||
|
|
||||||
def get_object(self) -> Optional[Model]:
|
def get_object(self) -> Optional[Model]:
|
||||||
|
Loading…
Reference in New Issue
Block a user