Fixed a typo in the txn_sort view in the accounting application.

This commit is contained in:
依瑪貓 2020-08-12 21:47:12 +08:00
parent 66322311aa
commit 190092adca

View File

@ -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: