|
@@ -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 = (
|
|
|
|
- "lat",
|
|
|
|
- "lon",
|
|
|
|
- )
|
|
|
|
|
|
+ ordering = ("-created",)
|
|
inlines = [
|
|
inlines = [
|
|
ScrobbleInline,
|
|
ScrobbleInline,
|
|
]
|
|
]
|