X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/543746a467e90915f7eaf60b7b09f5fa498056e0..cd7d2e5171bebc3b447f24878cb8f56caefe1e58:/wtem/urls.py?ds=sidebyside diff --git a/wtem/urls.py b/wtem/urls.py index 7de39ed..1e3f377 100644 --- a/wtem/urls.py +++ b/wtem/urls.py @@ -1,8 +1,12 @@ +# -*- coding: utf-8 -*- from django.conf.urls import patterns, url -from django.conf import settings -from .views import form, form_during +from . import views -urlpatterns = patterns('', - url(r'^_test/(?P.*)/$', form_during), - url(r'^(?P.*)/$', form, name = 'wtem_form') +urlpatterns = patterns( + '', + url(r'^potwierdzenie/(?P.*)/(?P.*)/$', views.confirmation, name='student_confirmation'), + url(r'^potwierdzenie-zgloszenia/(?P.*)/(?P.*)/$', views.teacher_confirmation, name='teacher_confirmation'), + url(r'^_test/(?P.*)/$', views.form_during), + url(r'^(?P[^/]*)/(?P[^/]*)/$', views.form, name='wtem_form'), + url(r'^(?P[^/]*)/(?P[^/]*)/start/$', views.start, name='wtem_start'), )