From 929f6732d00b2de5567b3eb20e7e4dc41ce0446a Mon Sep 17 00:00:00 2001 From: Martin Green Date: Mon, 3 Jul 2023 08:04:26 +0100 Subject: [PATCH] Add some sort of orderinng --- core/views/caves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/caves.py b/core/views/caves.py index 723df60..34e4c08 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -138,7 +138,7 @@ def caveindex(request): ) def entranceindex(request): - ents = Entrance.objects.all() + ents = Entrance.objects.all().order_by("slug") return render( request,