summaryrefslogtreecommitdiff
path: root/app/planner/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/planner/admin.py')
-rw-r--r--app/planner/admin.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/planner/admin.py b/app/planner/admin.py
index 910558a..09048a6 100644
--- a/app/planner/admin.py
+++ b/app/planner/admin.py
@@ -1,6 +1,5 @@
from django.contrib import admin
from django import forms
-from django.contrib.gis.admin import OSMGeoAdmin
from django.contrib.contenttypes.admin import GenericStackedInline
from utils.widgets import AdminImageWidget, LGEntryForm
@@ -10,7 +9,7 @@ from media.models import LuxImage
from utils.util import get_latlon
@admin.register(CampIdea)
-class PlannerAdmin(OSMGeoAdmin):
+class PlannerAdmin(admin.ModelAdmin):
list_display = ('name', )
#list_filter = ('has_water', )
# options for OSM map Using custom ESRI topo map
@@ -34,7 +33,7 @@ class PlannerAdmin(OSMGeoAdmin):
@admin.register(Camp)
-class PlannerAdmin(OSMGeoAdmin):
+class PlannerAdmin(admin.ModelAdmin):
list_display = ('name', 'date_arrive', 'date_depart', 'distance_from_previous', 'price', 'site_number',)
list_filter = ('date_arrive', 'has_water' )
# options for OSM map Using custom ESRI topo map
@@ -58,5 +57,5 @@ class PlannerAdmin(OSMGeoAdmin):
@admin.register(Trip)
-class TripAdmin(OSMGeoAdmin):
+class TripAdmin(admin.ModelAdmin):
pass