diff options
Diffstat (limited to 'app/locations/urls.py')
-rw-r--r-- | app/locations/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/locations/urls.py b/app/locations/urls.py index c49e684..0a2a462 100644 --- a/app/locations/urls.py +++ b/app/locations/urls.py @@ -1,7 +1,8 @@ + 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'}), + (r'^$', 'locations.views.map_list'), ) + |