summaryrefslogtreecommitdiff
path: root/app/locations/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/locations/admin.py')
-rw-r--r--app/locations/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/locations/admin.py b/app/locations/admin.py
index a23ef28..0d1c57a 100644
--- a/app/locations/admin.py
+++ b/app/locations/admin.py
@@ -1,12 +1,12 @@
from django.contrib import admin
from django.contrib.gis.admin import OSMGeoAdmin
from locations.models import Region,Country,Location,State,Route
-from django.contrib import databrowse
+
from django.contrib.gis.maps.google import GoogleMap
from django.conf import settings
GMAP = GoogleMap(key=settings.GOOGLE_MAPS_API_KEY)
-databrowse.site.register(Region)
+
class RegionAdmin(OSMGeoAdmin):
# Standard Django Admin Options