summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:44:01 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:44:01 +0100
commit1e1453f44351e0c8b7b725e008ef33bc53c70689 (patch)
treee0029a1897fed683efb891458d8efb0b7f950bdd /urls.py
parentb6f1f182f5113f2e402c6bd7d3038c6fc9aa91cd (diff)
downloadtroggle-1e1453f44351e0c8b7b725e008ef33bc53c70689.tar.gz
troggle-1e1453f44351e0c8b7b725e008ef33bc53c70689.tar.bz2
troggle-1e1453f44351e0c8b7b725e008ef33bc53c70689.zip
[svn] Added links to front page
Add names for views in order to link from the main page Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8223 by julian @ 1/24/2009 3:11 PM
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index ac03bc8..20d2ceb 100644
--- a/urls.py
+++ b/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_id>[^/]+)/?$', cave),
(r'^cave/(?P<cave_id>[^/]+)/?(?P<ent_letter>[^/])$', ent),
#(r'^cave/(?P<cave_id>[^/]+)/edit/$', edit_cave),
(r'^cavesearch', caveSearch),
- (r'^survex/(?P<survex_file>.*)\.index$', index),
+ url(r'^survex/(?P<survex_file>.*)\.index$', index, name="survexindex"),
(r'^survex/(?P<survex_file>.*)\.svx$', svx),
(r'^survex/(?P<survex_file>.*)\.3d$', threed),
(r'^survex/(?P<survex_file>.*)\.log$', log),
@@ -34,7 +34,7 @@ urlpatterns = patterns('',
url(r'^statistics/?$', stats, name="stats"),
url(r'^calendar/(?P<year>\d\d\d\d)?$', calendar, name="calendar"),
-
+
url(r'^survey/?$', surveyindex, name="survey"),
(r'^survey/(?P<year>\d\d\d\d)\#(?P<wallet_number>\d*)$', survey),