diff options
Diffstat (limited to 'app/locations/urls.py')
-rw-r--r-- | app/locations/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/locations/urls.py b/app/locations/urls.py new file mode 100644 index 0000000..c49e684 --- /dev/null +++ b/app/locations/urls.py @@ -0,0 +1,7 @@ +from django.conf.urls.defaults import * +from django.views.generic.simple import redirect_to,direct_to_template + +urlpatterns = patterns('', + (r'data/(?P<id>\d+)/$', 'locations.views.data_json'), + (r'^$', direct_to_template, {'template': 'archives/map.html'}), +) |