Renamed the templates of the transactions in the Mia core application.

This commit is contained in:
依瑪貓 2020-08-17 22:49:37 +08:00
parent 6ff9d0d4ff
commit 24db1af175

View File

@ -302,7 +302,7 @@ class UserFormView(FormView):
def get_success_url(self) -> str:
"""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)
def get_object(self) -> Optional[Model]: