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.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/locations/admin.py b/app/locations/admin.py
index 1938336..c3419b1 100644
--- a/app/locations/admin.py
+++ b/app/locations/admin.py
@@ -1,6 +1,7 @@
from django.contrib import admin
from django.contrib.gis.admin import OSMGeoAdmin
-from locations.models import Region, Country, Location, State, Route
+from locations.models import Region, Country, Location, State, Route, CheckIn
+from utils.widgets import OLAdminBase
class RegionAdmin(OSMGeoAdmin):
@@ -232,3 +233,8 @@ class RouteAdmin(OSMGeoAdmin):
openlayers_url = '/static/admin/js/OpenLayers.js'
admin.site.register(Route, RouteAdmin)
+
+
+@admin.register(CheckIn)
+class CheckInAdmin(OLAdminBase):
+ list_display = ('date', 'location')