X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/7ccedc9d976cd5b312760bed776ff096bb9463d5..3f560301f4b16f82439bed8cc30588dbc150eb50:/wtem/urls.py?ds=sidebyside diff --git a/wtem/urls.py b/wtem/urls.py index c78e8bd..1e3f377 100644 --- a/wtem/urls.py +++ b/wtem/urls.py @@ -1,9 +1,12 @@ +# -*- coding: utf-8 -*- from django.conf.urls import patterns, url -from django.conf import settings -from .views import main, form, form_during +from . import views -urlpatterns = patterns('', - url(r'^$', main, name = 'wtem_main'), - 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'), )