Mercurial > public > sg101
diff bandmap/admin.py @ 838:f31168465953
Bandmap: make lat/lon editable for tweaking location markers.
Don't cache band results in debug mode.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 04 Oct 2014 16:40:17 -0500 |
parents | 89a3a6433f6f |
children | 09ed84a7394c |
line wrap: on
line diff
--- a/bandmap/admin.py Sat Oct 04 13:43:22 2014 -0500 +++ b/bandmap/admin.py Sat Oct 04 16:40:17 2014 -0500 @@ -18,7 +18,7 @@ 'is_active', 'is_approved'] date_hierarchy = 'date_submitted' list_filter = ['date_submitted', 'is_active', 'is_approved'] - readonly_fields = ['lat', 'lon'] + list_editable = ['lat', 'lon'] search_fields = ['name', 'location', 'note'] raw_id_fields = ['user'] actions = ['update_location', 'approve_bands']