diff options
Diffstat (limited to 'apps/locations/urls.py')
-rw-r--r-- | apps/locations/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/locations/urls.py b/apps/locations/urls.py index 669b828..2cad114 100644 --- a/apps/locations/urls.py +++ b/apps/locations/urls.py @@ -1,6 +1,7 @@ from django.conf.urls.defaults import * +from django.views.generic.simple import redirect_to,direct_to_template urlpatterns = patterns('', #(r'(?P<slug>[0-9a-zA-Z_.-]+)/$', 'locations.views.list_view_region'), - (r'^$', 'locations.views.list_view'), + (r'^$', direct_to_template, {'template': 'archives/map.html'}), ) |