Fehlerhafte Sortierung bei "Gefunden Am"

Fixes #45
This commit is contained in:
gw3000 2023-08-13 22:22:03 +02:00
parent 473a21cad0
commit 6387e45434
4 changed files with 19 additions and 18 deletions

View file

@ -7,7 +7,7 @@ from .models import Costs
@login_required(login_url="account_login")
def costs_all(request):
costs = Costs.objects.all()
costs = Costs.objects.all().order_by("created")
context = {"costs": costs}
return render(request, "costs/costs_all.html", context)