Fixed a typo in the txn_sort view in the accounting application.
This commit is contained in:
parent
66322311aa
commit
190092adca
@ -956,7 +956,7 @@ def txn_sort(request, date):
|
|||||||
HttpResponse: The response.
|
HttpResponse: The response.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
Http404: When ther are less than two transactions in this day.
|
Http404: When there are less than two transactions in this day.
|
||||||
"""
|
"""
|
||||||
transactions = Transaction.objects.filter(date=date).order_by("ord")
|
transactions = Transaction.objects.filter(date=date).order_by("ord")
|
||||||
if len(transactions) < 2:
|
if len(transactions) < 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user