summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:09:55 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:09:55 +0100
commit6137f8baaadccfa5019f36dfab1d43bbdb230629 (patch)
tree8ed279cefaa6a70f5f896a04f9008c51e28e98e8 /urls.py
parentd6244e1ef3786be26931b1a3d772c6788a354d34 (diff)
downloadtroggle-6137f8baaadccfa5019f36dfab1d43bbdb230629.tar.gz
troggle-6137f8baaadccfa5019f36dfab1d43bbdb230629.tar.bz2
troggle-6137f8baaadccfa5019f36dfab1d43bbdb230629.zip
[svn] Logbook entries are now at /YYYY-MM-DD/slug .
Try editing a logbook entry title in the admin now. The django built in auto slug field is fun and javascripty. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8308 by aaron @ 3/16/2009 7:27 PM
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index f63393e..409c864 100644
--- a/urls.py
+++ b/urls.py
@@ -23,7 +23,7 @@ urlpatterns = patterns('',
url(r'^expedition/(\d+)$', views_logbooks.expedition, name="expedition"),
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/(.+)$', views_logbooks.logbookentry,name="logbookentry"),
+ url(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', views_logbooks.logbookentry,name="logbookentry"),
url(r'^survexblock/(.+)$', views_caves.survexblock, name="survexblock"),
url(r'^cavehref/(.+)$', views_caves.cavehref, name="cave"),