From 1a0e5776069b654796fc9fb9910db491b67fe152 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 14 Aug 2012 22:51:15 +0200 Subject: Bug fixing of cave and entrance forms removal of slugs --- urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urls.py') 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[^/]+)/edit/', views_caves.editEntrance, name = "editentrance"), - url(r'^entrance/new/', views_caves.editEntrance, name = "newentrance"), + url(r'^entrance/(?P[^/]+)/(?P[^/]+)/edit/', views_caves.editEntrance, name = "editentrance"), + url(r'^entrance/new/(?P[^/]+)/', views_caves.editEntrance, name = "newentrance"), #url(r'^cavedescription/(?P[^/]+)/?$', 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'), -- cgit v1.2.3