diff options
Diffstat (limited to 'app/sightings/admin.py')
-rw-r--r-- | app/sightings/admin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/sightings/admin.py b/app/sightings/admin.py index 7108bba..d95dd72 100644 --- a/app/sightings/admin.py +++ b/app/sightings/admin.py @@ -1,4 +1,4 @@ -import copy +import copy from django.contrib import admin from django.contrib.gis.admin import OSMGeoAdmin from .models import APClass, AP, Sighting @@ -6,7 +6,6 @@ from .models import APClass, AP, Sighting from photos.forms import GalleryForm from utils.util import get_latlon from utils.widgets import CustomSelectMultiple, LGEntryForm -from .forms import SightingsForm from django.contrib.admin.options import FORMFIELD_FOR_DBFIELD_DEFAULTS class GalleryFormPlus(GalleryForm): @@ -80,7 +79,6 @@ class APAdmin(admin.ModelAdmin): @admin.register(Sighting) class SightingAdmin(OSMGeoAdmin): - form = SightingsForm list_filter = (('location', admin.RelatedOnlyFieldListFilter),) list_display = ('ap', 'location') # options for OSM map Using custom ESRI topo map |