# -*- coding: utf-8 -*- from django.conf.urls import url from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views.survey_result import serve_result_csv urlpatterns = [ url(r"^$", IndexView.as_view(), name="survey-list"), url(r"^(?P<id>[0-9a-f-]+)/", SurveyDetail.as_view(), name="survey-detail"), url(r"^csv/(?P<primary_key>\d+)/", serve_result_csv, name="survey-result"), url(r"^(?P<id>[0-9a-f-]+)/completed/", SurveyCompleted.as_view(), name="survey-completed"), url(r"^(?P<id>[0-9a-f-]+)-(?P<step>\d+)/", SurveyDetail.as_view(), name="survey-detail-step"), url(r"^confirm/(?P<uuid>\w+)/", ConfirmView.as_view(), name="survey-confirmation"), ]
# -*- coding: utf-8 -*- from django.conf.urls import url from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views.survey_result import serve_result_csv urlpatterns = [ url(r"^$", IndexView.as_view(), name="survey-list"), url(r"^(?P<id>\d+)/", SurveyDetail.as_view(), name="survey-detail"), url(r"^csv/(?P<primary_key>\d+)/", serve_result_csv, name="survey-result"), url(r"^(?P<id>\d+)/completed/", SurveyCompleted.as_view(), name="survey-completed"), url(r"^(?P<id>\d+)-(?P<step>\d+)/", SurveyDetail.as_view(), name="survey-detail-step"), url(r"^confirm/(?P<uuid>\w+)/", ConfirmView.as_view(), name="survey-confirmation"), ]
# -*- coding: utf-8 -*- from django.urls import path from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views import ManageSurveyListView, SurveyCreateView, SurveyUpdateView from survey.views import SurveyDeleteView, SurveyCategoryUpdateView, QuestionCreateUpdateView from survey.views import CategoryOrderView, QuestionOrderView, CategoryQuestionListView from survey.views import QuestionDeleteView, SurveyResults from survey.views.survey_result import serve_result_csv app_name = 'survey' urlpatterns = [ path('', IndexView.as_view(), name="survey-list"), path('<int:id>/', SurveyDetail.as_view(), name="survey-detail"), # path('csv/<int:primary_key>/', serve_result_csv, name="survey-result"), path("<int:id>/completed/", SurveyCompleted.as_view(), name="survey-completed"), # path("<int:id>-<int:step>/", SurveyDetail.as_view(), name="survey-detail-step"), path("confirm/<str:uuid>/", ConfirmView.as_view(), name="survey-confirmation"), path('mine/', ManageSurveyListView.as_view(), name='manage_survey_list'), path('create/', SurveyCreateView.as_view(), name='survey_create'), path('<pk>/edit/', SurveyUpdateView.as_view(), name='survey_edit'), path('<pk>/delete/',
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from django.conf.urls import url from future import standard_library from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views.survey_result import serve_result_csv standard_library.install_aliases() urlpatterns = [ url(r'^$', IndexView.as_view(), name='survey-list'), url(r'^(?P<id>\d+)/', SurveyDetail.as_view(), name='survey-detail'), url(r'^csv/(?P<pk>\d+)/', serve_result_csv, name='survey-result'), url(r'^(?P<id>\d+)/completed/', SurveyCompleted.as_view(), name='survey-completed'), url(r'^(?P<id>\d+)-(?P<step>\d+)/', SurveyDetail.as_view(), name='survey-detail-step'), url(r'^confirm/(?P<uuid>\w+)/', ConfirmView.as_view(), name='survey-confirmation'), ]
name="survey-detail-step", ), url(r"^confirm/(?P<uuid>\w+)/", ConfirmView.as_view(), name="survey-confirmation"), ] ''' urlpatterns = [ path('admin/', admin.site.urls), path('', main_view, name='home'), path('game', game_view, name='game'), path('board', board_view, name='board'), path('manage', admin_view, name='adm'), path('adminview', admin_observation_view, name='observation'), path('graph', graph_view, name='graph'), path('end_round', end_round_view, name='end round'), path('end', end_view, name='end'), path('attach0', attach0_view, name='home'), path('download', download, name='download'), path('board_gif', board_gif, name='board_gif'), path('pretest', pretest_view, name='pretest'), re_path(r"^survey/(?P<id>\d+)/", SurveyDetail.as_view(), name="survey-detail"), re_path(r"^survey/confirm/(?P<uuid>\w+)/", post_survey_view, name="survey-confirmation"), ] start_timer(timer_working, timer_stop) ''' '''
# -*- coding: utf-8 -*- from django.urls import path from django.views.decorators.clickjacking import xframe_options_exempt from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views.survey_result import serve_result_csv app_name = "survey" urlpatterns = [ path("", xframe_options_exempt(IndexView.as_view()), name="survey-list"), path("confirm/<str:uuid>/", xframe_options_exempt(ConfirmView.as_view()), name="survey-confirmation"), path("csv/<int:primary_key>/", serve_result_csv, name="survey-result"), path("<slug:slug>/completed/", xframe_options_exempt(SurveyCompleted.as_view()), name="survey-completed"), path("<slug:slug>-<int:step>/", xframe_options_exempt(SurveyDetail.as_view()), name="survey-detail-step"), path("<slug:slug>/", xframe_options_exempt(SurveyDetail.as_view()), name="survey-detail-slug"), ]
# -*- coding: utf-8 -*- from __future__ import ( absolute_import, division, print_function, unicode_literals ) from django.conf.urls import url from future import standard_library from survey.views import ConfirmView, IndexView, SurveyCompleted, SurveyDetail from survey.views.survey_result import serve_result_csv standard_library.install_aliases() urlpatterns = [ url(r'^$', IndexView.as_view(), name='survey-list'), url(r'^(?P<id>\d+)/', SurveyDetail.as_view(), name='survey-detail'), url(r'^csv/(?P<pk>\d+)/', serve_result_csv, name='survey-result'), url(r'^(?P<id>\d+)/completed/', SurveyCompleted.as_view(), name='survey-completed'), url(r'^(?P<id>\d+)-(?P<step>\d+)/', SurveyDetail.as_view(), name='survey-detail-step'), url(r'^confirm/(?P<uuid>\w+)/', ConfirmView.as_view(), name='survey-confirmation'), ]