diff bandmap/admin.py @ 834:89a3a6433f6f

Bandmap admin tweaks: display lat/lon. Admin dashboard link takes you to unapproved entries.
author Brian Neal <bgneal@gmail.com>
date Tue, 30 Sep 2014 19:05:42 -0500
parents b9973588af28
children f31168465953
line wrap: on
line diff
--- a/bandmap/admin.py	Sun Sep 28 22:05:09 2014 -0500
+++ b/bandmap/admin.py	Tue Sep 30 19:05:42 2014 -0500
@@ -14,8 +14,8 @@
 
 
 class BandEntryAdmin(admin.ModelAdmin):
-    list_display = ['name', 'date_submitted', 'location', 'is_active',
-            'is_approved']
+    list_display = ['name', 'date_submitted', 'location', 'lat', 'lon',
+            'is_active', 'is_approved']
     date_hierarchy = 'date_submitted'
     list_filter = ['date_submitted', 'is_active', 'is_approved']
     readonly_fields = ['lat', 'lon']