diff options
Diffstat (limited to 'app/sightings/admin.py')
-rw-r--r-- | app/sightings/admin.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/sightings/admin.py b/app/sightings/admin.py index f6ec2af..0505ac8 100644 --- a/app/sightings/admin.py +++ b/app/sightings/admin.py @@ -3,20 +3,10 @@ from django.contrib import admin from django.contrib.gis.admin import OSMGeoAdmin from .models import APClass, AP, Sighting, FieldNote -from photos.forms import GalleryForm from utils.util import get_latlon from utils.widgets import CustomSelectMultiple, LGEntryForm from django.contrib.admin.options import FORMFIELD_FOR_DBFIELD_DEFAULTS -class GalleryFormPlus(GalleryForm): - def __init__(self, *args, **kwargs): - super(GalleryFormPlus, self).__init__(*args, **kwargs) - self.base_fields['seen_by'].widget = CustomSelectMultiple() - - class Meta: - model = Sighting - fields = '__all__' - @admin.register(APClass) class APClassAdmin(admin.ModelAdmin): |