summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorMartin <devnull@localhost>2012-08-14 22:51:15 +0200
committerMartin <devnull@localhost>2012-08-14 22:51:15 +0200
commit1a0e5776069b654796fc9fb9910db491b67fe152 (patch)
tree8bafae7583b5375de5589c0a1ecbd46414401fd3 /urls.py
parentecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2 (diff)
downloadtroggle-1a0e5776069b654796fc9fb9910db491b67fe152.tar.gz
troggle-1a0e5776069b654796fc9fb9910db491b67fe152.tar.bz2
troggle-1a0e5776069b654796fc9fb9910db491b67fe152.zip
Bug fixing of cave and entrance forms removal of slugs
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 35d8dad..99313fa 100644
--- a/urls.py
+++ b/urls.py
@@ -51,8 +51,8 @@ actualurlpatterns = patterns('',
url(r'^cave/description/([^/]+)/?$', views_caves.caveDescription),
url(r'^cave/qms/([^/]+)/?$', views_caves.caveQMs),
url(r'^cave/logbook/([^/]+)/?$', views_caves.caveLogbook),
- url(r'^entrance/(?P<slug>[^/]+)/edit/', views_caves.editEntrance, name = "editentrance"),
- url(r'^entrance/new/', views_caves.editEntrance, name = "newentrance"),
+ url(r'^entrance/(?P<caveslug>[^/]+)/(?P<slug>[^/]+)/edit/', views_caves.editEntrance, name = "editentrance"),
+ url(r'^entrance/new/(?P<caveslug>[^/]+)/', views_caves.editEntrance, name = "newentrance"),
#url(r'^cavedescription/(?P<cavedescription_name>[^/]+)/?$', views_caves.cave_description, name="cavedescription"),
#url(r'^cavedescription/?$', object_list, {'queryset':CaveDescription.objects.all(),'template_name':'object_list.html'}, name="cavedescriptions"),
#url(r'^cavehref/(.+)$', views_caves.cave, name="cave"),url(r'cave'),