fix imports

pull/1/head
eric 2016-04-28 11:54:04 -04:00
parent a29a3a21c9
commit a1d2051ab7
1 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
from django.conf.urls import * from django.conf.urls import *
from .views import * from .views import *
from .page.views import page, langpage
urlpatterns = patterns( urlpatterns = patterns(
'', '',
@ -13,15 +13,15 @@ urlpatterns = patterns(
url(r'^(?P<runcode>[^/]+)/progress/$', url(r'^(?P<runcode>[^/]+)/progress/$',
get_async_progress, name='progress'), get_async_progress, name='progress'),
url(r'^take/(?P<questionnaire_id>[0-9]+)/$', generate_run), url(r'^take/(?P<questionnaire_id>[0-9]+)/$', generate_run),
url(r'^$', 'questionnaire.page.views.page', {'page_to_render' : 'index'}), url(r'^$', page, {'page_to_render' : 'index'}),
url(r'^(?P<page_to_render>.*)\.html$', 'questionnaire.page.views.page'), url(r'^(?P<page_to_render>.*)\.html$', page),
url(r'^(?P<lang>..)/(?P<page_to_trans>.*)\.html$', 'questionnaire.page.views.langpage'), url(r'^(?P<lang>..)/(?P<page_to_trans>.*)\.html$', langpage),
url(r'^setlang/$', 'questionnaire.views.set_language'), url(r'^setlang/$', set_language),
url(r'^landing/(?P<nonce>\w+)/$', SurveyView.as_view(), name="landing"), url(r'^landing/(?P<nonce>\w+)/$', SurveyView.as_view(), name="landing"),
url(r'^(?P<runcode>[^/]+)/(?P<qs>[-]{0,1}\d+)/$', url(r'^(?P<runcode>[^/]+)/(?P<qs>[-]{0,1}\d+)/$',
questionnaire, name='questionset'), questionnaire, name='questionset'),
url(r'^q/manage/csv/(\d+)/', url(r'^q/manage/csv/(\d+)/',
'questionnaire.views.export_csv', name="export_csv"), export_csv, name="export_csv"),
) )
if not use_session: if not use_session: