summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/sightings/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/sightings/admin.py b/app/sightings/admin.py
index c17a1f4..1746b94 100644
--- a/app/sightings/admin.py
+++ b/app/sightings/admin.py
@@ -25,12 +25,13 @@ class APClassAdmin(admin.ModelAdmin):
@admin.register(AP)
class APAdmin(admin.ModelAdmin):
+ form = LGEntryForm
list_display = ('pk', 'common_name', 'scientific_name', 'kind', 'code', 'apclass')
list_filter = ('apclass__kind','apclass')
search_fields = ['common_name', 'scientific_name']
class Media:
- js = ('next-prev-links.js', 'image-preview.js')
+ js = ('image-loader.js','next-prev-links.js')
@admin.register(Sighting)