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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/locations/admin.py b/app/locations/admin.py
index df65894..b428e0d 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, LuxCheckIn, Campsite, GPXFile, GPXTrack, Walk
+from .models import Region, Country, Location, State, Route, LuxCheckIn, Campsite, GPXFile, GPXTrack, Track
from utils.widgets import OLAdminBase
from utils.util import get_latlon
@@ -289,8 +289,8 @@ class GPXTrackAdmin(OLAdminBase):
pass
-@admin.register(Walk)
-class WalkAdmin(OLAdminBase):
+@admin.register(Track)
+class TrackAdmin(OLAdminBase):
form = LGEntryForm
list_display = ('title', 'date_walked', 'distance', 'rating', 'location')
list_filter = ('rating', 'location', 'date_walked')