refactor: order management lists by name instead of id

This commit is contained in:
Herculino Trotta
2025-12-27 23:43:57 -03:00
parent c7ff6db0bf
commit 2076903740
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def accounts_index(request):
@login_required
@require_http_methods(["GET"])
def accounts_list(request):
accounts = Account.objects.all().order_by("id")
accounts = Account.objects.all().order_by("name")
return render(
request,
"accounts/fragments/list.html",