diff options
Diffstat (limited to 'app/locations/admin.py')
-rw-r--r-- | app/locations/admin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/locations/admin.py b/app/locations/admin.py index 26001a4..d644548 100644 --- a/app/locations/admin.py +++ b/app/locations/admin.py @@ -1,7 +1,7 @@ from django.contrib import admin from django.contrib.gis.admin import OSMGeoAdmin -from .models import Region, Country, Location, State, Route, CheckIn, Campsite +from .models import Region, Country, Location, State, Route, LuxCheckIn, Campsite from utils.widgets import OLAdminBase from utils.util import get_latlon @@ -236,8 +236,8 @@ class RouteAdmin(OSMGeoAdmin): openlayers_url = '/static/admin/js/OpenLayers.js' -@admin.register(CheckIn) -class CheckInAdmin(OLAdminBase): +@admin.register(LuxCheckIn) +class LuxCheckInAdmin(OLAdminBase): list_display = ('date', 'location') # options for OSM map Using custom ESRI topo map default_lat, default_lon = get_latlon() |