fix for csv url

EmailTemplateFixes
Ian Ward 2009-11-14 22:49:11 +08:00 committed by Robert M. Thomson
parent ace257c299
commit 723bd0bd01
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ from views import *
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'^$', url(r'^$',
questionnaire, name='questionnaire_noargs'), questionnaire, name='questionnaire_noargs'),
url(r'^csv/(?P<qid>\d+)/',
export_csv, name='export_csv'),
url(r'^(?P<runcode>[^/]+)/(?P<qs>\d+)/$', url(r'^(?P<runcode>[^/]+)/(?P<qs>\d+)/$',
questionnaire, name='questionset'), questionnaire, name='questionset'),
url(r'^(?P<runcode>[^/]+)/', url(r'^(?P<runcode>[^/]+)/',
questionnaire, name='questionnaire'), questionnaire, name='questionnaire'),
url(r'^csv/\d+/',
export_csv, name='export_csv')
) )