summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-03-30 17:02:07 +0000
committerSam Wenham <sam@wenhams.co.uk>2019-03-30 17:02:07 +0000
commitc8551991b20dd5d4a70048ea5ca1cbb96d0c3414 (patch)
treea1ee35a80efb0e73ace1bc217de069760396e8f1 /urls.py
parentf666b9c3963b321296ec51e5d8c8dd149ff60478 (diff)
downloadtroggle-c8551991b20dd5d4a70048ea5ca1cbb96d0c3414.tar.gz
troggle-c8551991b20dd5d4a70048ea5ca1cbb96d0c3414.tar.bz2
troggle-c8551991b20dd5d4a70048ea5ca1cbb96d0c3414.zip
Remove the redundant render_with_context() as django now does this just with the
render() shortcut Move from mimetype to content_type, missed in last commit
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 0dbd9a0..287755b 100644
--- a/urls.py
+++ b/urls.py
@@ -53,7 +53,7 @@ actualurlpatterns = patterns('',
url(r'^getLogBookEntries/(?P<expeditionslug>.*)', views_logbooks.get_logbook_entries, name = "get_logbook_entries"),
- url(r'^cave/new/$', edit_cave, name="newcave"),
+ url(r'^cave/new/$', views_caves.edit_cave, name="newcave"),
url(r'^cave/(?P<cave_id>[^/]+)/?$', views_caves.cave, name="cave"),
url(r'^caveslug/([^/]+)/?$', views_caves.caveSlug, name="caveSlug"),
url(r'^cave/entrance/([^/]+)/?$', views_caves.caveEntrance),
@@ -71,7 +71,7 @@ actualurlpatterns = patterns('',
# url(r'^jgtuploadfile$', view_surveys.jgtuploadfile, name="jgtuploadfile"),
url(r'^cave/(?P<cave_id>[^/]+)/?(?P<ent_letter>[^/])$', ent),
- url(r'^cave/(?P<slug>[^/]+)/edit/$', edit_cave, name="edit_cave"),
+ url(r'^cave/(?P<slug>[^/]+)/edit/$', views_caves.edit_cave, name="edit_cave"),
#(r'^cavesearch', caveSearch),