regluit/questionnaire/legacy_test_urls.py

19 lines
592 B
Python
Raw Normal View History

2016-04-26 18:38:32 +00:00
# vim: set fileencoding=utf-8
import questionnaire
from django.conf.urls.defaults import *
2016-04-28 16:23:19 +00:00
from .views import *
2016-04-26 18:38:32 +00:00
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'),
)