fef-questionnaire/questionnaire/urls.py

16 lines
445 B
Python
Raw Normal View History

# vim: set fileencoding=utf-8
from django.conf.urls.defaults import *
from views import *
urlpatterns = patterns('',
url(r'^$',
questionnaire, name='questionnaire_noargs'),
2009-11-14 14:49:11 +00:00
url(r'^csv/(?P<qid>\d+)/',
export_csv, name='export_csv'),
url(r'^(?P<runcode>[^/]+)/(?P<qs>\d+)/$',
questionnaire, name='questionset'),
url(r'^(?P<runcode>[^/]+)/',
questionnaire, name='questionnaire'),
)