X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/e0ca24b203011b28d4fe07fb3c1c76f00fdea959..9d6c41a8d4518ba851c9de7426abe49de0660077:/wtem/urls.py diff --git a/wtem/urls.py b/wtem/urls.py index 1dded94..e498743 100644 --- a/wtem/urls.py +++ b/wtem/urls.py @@ -1,8 +1,11 @@ +# -*- coding: utf-8 -*- from django.conf.urls import patterns, url -from django.conf import settings -from .views import main, form +from . import views -urlpatterns = patterns('', - url(r'^$', main, name = 'wtem_main'), - url(r'^(?P.*)/$', form, name = 'wtem_form') +urlpatterns = patterns( + '', + url(r'^potwierdzenie/(?P.*)/(?P.*)/$', views.confirmation, name='student_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'), )