Mercurial > public > sg101
diff bandmap/admin.py @ 843:09ed84a7394c
For issue #76, store pre-rendered HTML for each band map entry.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 13 Oct 2014 16:48:43 -0500 |
parents | f31168465953 |
children | 4aadaf3bc234 |
line wrap: on
line diff
--- a/bandmap/admin.py Sun Oct 12 14:59:43 2014 -0500 +++ b/bandmap/admin.py Mon Oct 13 16:48:43 2014 -0500 @@ -22,6 +22,7 @@ search_fields = ['name', 'location', 'note'] raw_id_fields = ['user'] actions = ['update_location', 'approve_bands'] + readonly_fields = ['html'] def approve_bands(self, request, qs): """This admin action awards a map pin to the user who added the band.