Update admin for geolocations

This commit is contained in:
2023-11-25 00:38:08 +01:00
parent e9db212121
commit b0574ecf80

View File

@ -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,
]