You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
667 B
16 lines
667 B
from django.conf.urls import url
|
|
|
|
from gmap.views import index, showmap, markers, gmap_search, categories, dump_csv, director_by_boundary, director_import
|
|
|
|
|
|
app_name = 'gmap'
|
|
urlpatterns = [
|
|
url(r'^$', index, name="index"),
|
|
url(r'^markers.json$', markers, name="markers"),
|
|
url(r'^categories.json$', categories, name="categories"),
|
|
url(r'^directors/(?P<boundary_code>.+)/$', director_by_boundary, name="directors"),
|
|
url(r'^boundary_import/$', director_import, name="boundary_import"),
|
|
url(r'^search/?', gmap_search, name="gmap_search"),
|
|
url(r'^(?P<address>\w+)$', showmap, name="show_map"),
|
|
url(r'^csv/?', dump_csv, name="dump_csv"),
|
|
]
|