From 57ede091c42878f11b33a2c77aa73a71bd4723dd Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 22 Jul 2009 16:18:00 +0100 Subject: [svn] Various bug fixes, using more raw_id fields in admin so it loads faster. I had to put onLoad="contentHeight();" back into the base template. This is a bad solution, I would rather use Martin's, but it wasn't working. --- urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index a128bd3..fd148c8 100644 --- a/urls.py +++ b/urls.py @@ -32,7 +32,8 @@ urlpatterns = patterns('', url(r'^survexblock/(.+)$', views_caves.survexblock, name="survexblock"), url(r'^cave/(?P[^/]+)/?$', views_caves.cave, name="cave"), - url(r'^cavedescription/(?P[^/]*)/$', views_caves.cave_description, name="cavedescription"), + 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'), url(r'^jgtfile/(.*)$', view_surveys.jgtfile, name="jgtfile"), -- cgit v1.2.3