diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-07-11 00:50:07 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-07-11 00:50:07 +0100 |
commit | 5cbfa6d8b1c4bd8c98832b7ad4c203113c254ad3 (patch) | |
tree | 7e4ed102872e4579089480144c75b61481792b67 /urls.py | |
parent | 861daee66feb985ccfb9271c211dc1a27263fbf4 (diff) | |
download | troggle-5cbfa6d8b1c4bd8c98832b7ad4c203113c254ad3.tar.gz troggle-5cbfa6d8b1c4bd8c98832b7ad4c203113c254ad3.tar.bz2 troggle-5cbfa6d8b1c4bd8c98832b7ad4c203113c254ad3.zip |
Split up tags such that they use ajax
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -45,8 +45,12 @@ actualurlpatterns = patterns('', url(r'^cave/(?P<cave_id>[^/]+)/?$', views_caves.cave, name="cave"),
url(r'^caveslug/([^/]+)/?$', views_caves.caveSlug, name="caveSlug"),
- 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'^cave/entrance/([^/]+)/?$', views_caves.caveEntrance),
+ url(r'^cave/description/([^/]+)/?$', views_caves.caveDescription),
+ url(r'^cave/qms/([^/]+)/?$', views_caves.caveQMs),
+ url(r'^cave/logbook/([^/]+)/?$', views_caves.caveLogbook),
+ #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'),
url(r'^jgtfile/(.*)$', view_surveys.jgtfile, name="jgtfile"),
|