forked from lrvick/gmap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathurls.py
More file actions
13 lines (12 loc) · 686 Bytes
/
urls.py
File metadata and controls
13 lines (12 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.conf.urls.defaults import patterns, include, url
from gmap.views import index, showmap, markers, gmap_search, categories, dump_csv, director_by_boundary, director_import
urlpatterns = patterns('',
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"),
)