From da82627c2e00d010ad653f3e136e93f69e96de9b Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sun, 15 Jul 2018 13:30:44 -0400 Subject: [PATCH] Add latlong to the City admin display --- events/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/events/admin.py b/events/admin.py index fd770e0..c71f643 100644 --- a/events/admin.py +++ b/events/admin.py @@ -41,6 +41,7 @@ admin.site.register(SPR, SPRAdmin) class CityAdmin(admin.ModelAdmin): raw_id_fields = ('spr',) + list_display = ('name', 'spr', 'latitude', 'longitude') list_filter =('spr__country',) search_fields = ('name', 'spr__name') admin.site.register(City, CityAdmin)