from django.urls import path, re_path from . import views app_name = "locations" urlpatterns = [ path( r'', views.TrackDetailView.as_view(), name="track-detail" ), path( r'///', views.LocationDetail.as_view(), name="location-detail" ), path( r'mapdata/', views.MapDataList.as_view(), name="mapdata" ), #re_path(r'data/(?P\d+)/$', views.data_json), #path( # r'', # views.MapList.as_view(), # name="maplist" #), path( r'', views.TravelsList.as_view(), name="travels-list" ), ]