Revised the code in the get_success_url method in TransactionSortFormView in the accounting application.
This commit is contained in:
parent
dec6233d4e
commit
165768deee
@ -932,8 +932,8 @@ class TransactionSortFormView(FormView):
|
||||
def get_success_url(self) -> str:
|
||||
"""Returns the URL on success."""
|
||||
return self.request.GET.get("r")\
|
||||
or reverse("accounting:home",
|
||||
current_app=self.request.resolver_match.namespace)
|
||||
or reverse("accounting:home",
|
||||
current_app=self.request.resolver_match.namespace)
|
||||
|
||||
|
||||
@method_decorator(require_GET, name="dispatch")
|
||||
|
Loading…
Reference in New Issue
Block a user