Update admin for geolocations
This commit is contained in:
@ -9,15 +9,13 @@ from scrobbles.admin import ScrobbleInline
|
|||||||
class GeoLocationAdmin(admin.ModelAdmin):
|
class GeoLocationAdmin(admin.ModelAdmin):
|
||||||
date_hierarchy = "created"
|
date_hierarchy = "created"
|
||||||
list_display = (
|
list_display = (
|
||||||
|
"created",
|
||||||
"lat",
|
"lat",
|
||||||
"lon",
|
"lon",
|
||||||
"title",
|
"title",
|
||||||
"altitude",
|
"altitude",
|
||||||
)
|
)
|
||||||
ordering = (
|
ordering = ("-created",)
|
||||||
"lat",
|
|
||||||
"lon",
|
|
||||||
)
|
|
||||||
inlines = [
|
inlines = [
|
||||||
ScrobbleInline,
|
ScrobbleInline,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user