19 lines
592 B
Python
19 lines
592 B
Python
# vim: set fileencoding=utf-8
|
|
|
|
import questionnaire
|
|
from django.conf.urls.defaults import *
|
|
from .views import *
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^q/(?P<runcode>[^/]+)/(?P<qs>\d+)/$',
|
|
'questionnaire.views.questionnaire', name='questionset'),
|
|
url(r'^q/([^/]+)/',
|
|
'questionnaire.views.questionnaire', name='questionset'),
|
|
url(r'^q/manage/csv/(\d+)/',
|
|
'questionnaire.views.export_csv'),
|
|
url(r'^q/manage/sendemail/(\d+)/$',
|
|
'questionnaire.views.send_email'),
|
|
url(r'^q/manage/manage/sendemails/$',
|
|
'questionnaire.views.send_emails'),
|
|
)
|