X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/debff91e06a05ff54c961f0e789848c4d582e82f..566ee7cbbf5ad86cc0fe154a4c592c522d97ead2:/wtem/urls.py?ds=sidebyside diff --git a/wtem/urls.py b/wtem/urls.py index 4fc156e..1e3f377 100644 --- a/wtem/urls.py +++ b/wtem/urls.py @@ -1,6 +1,12 @@ +# -*- coding: utf-8 -*- from django.conf.urls import patterns, url -from .views import main +from . import views -urlpatterns = patterns('', - url(r'^$', main, name = 'wtem_main') -) \ No newline at end of file +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'), +)