diff options
author | Martin <devnull@localhost> | 2012-08-14 22:51:15 +0200 |
---|---|---|
committer | Martin <devnull@localhost> | 2012-08-14 22:51:15 +0200 |
commit | 25a73c4ab7a23d87621c0d90b9c26c69361e8a6a (patch) | |
tree | 6290339cc911e049d74bd061b6f9f810482af15e /urls.py | |
parent | 28047277f1fb0679c3b94bb5a14d2384a94cc27f (diff) | |
download | troggle-25a73c4ab7a23d87621c0d90b9c26c69361e8a6a.tar.gz troggle-25a73c4ab7a23d87621c0d90b9c26c69361e8a6a.tar.bz2 troggle-25a73c4ab7a23d87621c0d90b9c26c69361e8a6a.zip |
Bug fixing of cave and entrance forms removal of slugs
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'), |