summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-19 06:32:42 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-19 06:32:42 +0100
commit9c1e978da28228cd14d4f2a0ff3ac08ea73240ed (patch)
treea28940ce2f740f4f75ac9ebf7d6599da199f41c0 /urls.py
parente9eb00f65dfb18e4b6c26e72c130854bd0cd318d (diff)
downloadtroggle-9c1e978da28228cd14d4f2a0ff3ac08ea73240ed.tar.gz
troggle-9c1e978da28228cd14d4f2a0ff3ac08ea73240ed.tar.bz2
troggle-9c1e978da28228cd14d4f2a0ff3ac08ea73240ed.zip
[svn]
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index 8ae9ca7..fc2b7a2 100644
--- a/urls.py
+++ b/urls.py
@@ -24,7 +24,7 @@ urlpatterns = patterns('',
#url(r'^person/(\w+_\w+)$', views_logbooks.person, name="person"),
url(r'^expedition/(\d+)$', views_logbooks.expedition, name="expedition"),
- url(r'^expeditions/?$', object_list, {'queryset':Expedition.objects.all(),'template_name':'expeditions.html'},name="expeditionlist"),
+ url(r'^expeditions/?$', object_list, {'queryset':Expedition.objects.all(),'template_name':'object_list.html'},name="expeditions"),
url(r'^personexpedition/(?P<first_name>[A-Z]*[a-z]*)[^a-zA-Z]*(?P<last_name>[A-Z]*[a-z]*)/(?P<year>\d+)/?$', views_logbooks.personexpedition, name="personexpedition"),
url(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', views_logbooks.logbookentry,name="logbookentry"),
@@ -72,8 +72,7 @@ urlpatterns = patterns('',
(r'^accounts/', include('registration.urls')),
(r'^profiles/', include('profiles.urls')),
-# (r'^personform/(.*)$', personForm),
-
+# (r'^personform/(.*)$', personForm),
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),