summaryrefslogtreecommitdiff
path: root/app/posts/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/admin.py')
-rw-r--r--app/posts/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/admin.py b/app/posts/admin.py
index 27ec145..bed6b1d 100644
--- a/app/posts/admin.py
+++ b/app/posts/admin.py
@@ -1,6 +1,6 @@
from django.contrib import admin
from django import forms
-from django.contrib.gis.admin import OSMGeoAdmin
+from django.contrib.gis.admin import GISModelAdmin
from django.contrib.contenttypes.admin import GenericStackedInline
from utils.widgets import AdminImageWidget, LGEntryForm
@@ -10,7 +10,7 @@ from utils.util import get_latlon
@admin.register(Post)
-class PostAdmin(OSMGeoAdmin):
+class PostAdmin(GISModelAdmin):
form = LGEntryForm
def get_queryset(self, request):