pep8
[edumed.git] / wtem / urls.py
index f7a5e99..1e3f377 100644 (file)
@@ -5,7 +5,8 @@ from . import views
 urlpatterns = patterns(
     '',
     url(r'^potwierdzenie/(?P<id>.*)/(?P<key>.*)/$', views.confirmation, name='student_confirmation'),
+    url(r'^potwierdzenie-zgloszenia/(?P<id>.*)/(?P<key>.*)/$', views.teacher_confirmation, name='teacher_confirmation'),
     url(r'^_test/(?P<key>.*)/$', views.form_during),
-    # url(r'^(?P<key>.*)/$', views.form, name='wtem_form'),
-    url(r'^(?P<submission_id>.*)/(?P<key>.*)/$', views.form_single, name='form_single'),
+    url(r'^(?P<submission_id>[^/]*)/(?P<key>[^/]*)/$', views.form, name='wtem_form'),
+    url(r'^(?P<submission_id>[^/]*)/(?P<key>[^/]*)/start/$', views.start, name='wtem_start'),
 )