diff --git a/troggle/templates/index.html b/troggle/templates/index.html index bbc431268..bc0bfa98f 100644 --- a/troggle/templates/index.html +++ b/troggle/templates/index.html @@ -27,8 +27,11 @@

{{message}}

@@ -37,11 +40,13 @@
{% endblock %} diff --git a/troggle/urls.py b/troggle/urls.py index ac03bc842..20d2ceb52 100644 --- a/troggle/urls.py +++ b/troggle/urls.py @@ -8,13 +8,13 @@ admin.autodiscover() urlpatterns = patterns('', (r'^$', frontPage), - (r'^cave/?$', caveindex), + url(r'^cave/?$', caveindex, name="caveindex"), (r'^cave/(?P[^/]+)/?$', cave), (r'^cave/(?P[^/]+)/?(?P[^/])$', ent), #(r'^cave/(?P[^/]+)/edit/$', edit_cave), (r'^cavesearch', caveSearch), - (r'^survex/(?P.*)\.index$', index), + url(r'^survex/(?P.*)\.index$', index, name="survexindex"), (r'^survex/(?P.*)\.svx$', svx), (r'^survex/(?P.*)\.3d$', threed), (r'^survex/(?P.*)\.log$', log), @@ -34,7 +34,7 @@ urlpatterns = patterns('', url(r'^statistics/?$', stats, name="stats"), url(r'^calendar/(?P\d\d\d\d)?$', calendar, name="calendar"), - + url(r'^survey/?$', surveyindex, name="survey"), (r'^survey/(?P\d\d\d\d)\#(?P\d*)$', survey),