summaryrefslogtreecommitdiff
path: root/app/locations/urls.py
blob: abe9f0aca1f156a3c87f742d3fe8b5280e62aec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.urls import path, re_path

from . import views

app_name = "locations"

urlpatterns = [
    path(
        r'mapdata/',
        views.MapDataList.as_view(),
        name="mapdata"
    ),
    re_path(r'data/(?P<id>\d+)/$', views.data_json),
    path(
        r'',
        views.MapList.as_view(),
        name="maplist"
    ),
]