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 | 1a0e5776069b654796fc9fb9910db491b67fe152 (patch) | |
tree | 8bafae7583b5375de5589c0a1ecbd46414401fd3 /urls.py | |
parent | ecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2 (diff) | |
download | troggle-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.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'), |