From b0574ecf8026b127190105921bf3e552669a9047 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 25 Nov 2023 00:38:08 +0100 Subject: [PATCH] Update admin for geolocations --- vrobbler/apps/locations/admin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vrobbler/apps/locations/admin.py b/vrobbler/apps/locations/admin.py index d8d80b7..cc2c07d 100644 --- a/vrobbler/apps/locations/admin.py +++ b/vrobbler/apps/locations/admin.py @@ -9,15 +9,13 @@ from scrobbles.admin import ScrobbleInline class GeoLocationAdmin(admin.ModelAdmin): date_hierarchy = "created" list_display = ( + "created", "lat", "lon", "title", "altitude", ) - ordering = ( - "lat", - "lon", - ) + ordering = ("-created",) inlines = [ ScrobbleInline, ]