summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/sightings/admin.py20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/sightings/admin.py b/app/sightings/admin.py
index fcbc2ca..f6ec2af 100644
--- a/app/sightings/admin.py
+++ b/app/sightings/admin.py
@@ -92,9 +92,27 @@ class SightingAdmin(OSMGeoAdmin):
map_height = 425
map_template = 'gis/admin/osm.html'
openlayers_url = '/static/admin/js/OpenLayers.js'
+
+ fieldsets = (
+ ('', {
+ 'fields': (
+ 'ap',
+ 'point',
+ 'pub_date',
+ ),
+ 'classes': (
+ 'show',
+ 'extrapretty',
+ )
+ }
+ ),
+ )
class Media:
- js = ('next-prev-links.js',)
+ js = ('next-prev-links.js', 'choices.min.js', 'autocomplete.js')
+ css = {
+ "all": ("choices.mapfix.css", "choices.min.css",)
+ }
@admin.register(FieldNote)