diff options
author | luxagraf <sng@luxagraf.net> | 2017-12-14 19:58:07 -0800 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-12-14 19:58:07 -0800 |
commit | c903be495237125906e95e2d5fcb9f17df09327c (patch) | |
tree | 27173dad151e2c09105bd1c1b64f9d04210f8d8e /app/locations/admin.py | |
parent | 83b7318a4672d32ed77cd3f906f43f5ad1cce854 (diff) |
cleaned up notes, archived old apps, moved checkins to locations app
where it should have been from the beginning
Diffstat (limited to 'app/locations/admin.py')
-rw-r--r-- | app/locations/admin.py | 8 |
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') |