diff options
author | luxagraf <sng@luxagraf.net> | 2024-07-24 16:37:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-07-24 16:37:26 -0500 |
commit | 88e0f0ac2bd5874256bf7e84fa460965bacdd761 (patch) | |
tree | c79a3cc81a2a85be809605b9042b00ca32db095c /app/posts/admin.py | |
parent | 074ec1e21a7bfa867bbb2c35057c19b5cfc375c4 (diff) |
general update
Diffstat (limited to 'app/posts/admin.py')
-rw-r--r-- | app/posts/admin.py | 4 |
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): |