set competition state in db + randomized single-question forms
[edumed.git] / wtem / urls.py
index 3e96c2e..f7a5e99 100644 (file)
@@ -1,9 +1,11 @@
 # -*- coding: utf-8 -*-
 from django.conf.urls import patterns, url
-from .views import form, form_during
+from . import views
 
 urlpatterns = patterns(
     '',
-    url(r'^_test/(?P<key>.*)/$', form_during),
-    url(r'^(?P<key>.*)/$', form, name='wtem_form')
+    url(r'^potwierdzenie/(?P<id>.*)/(?P<key>.*)/$', views.confirmation, name='student_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'),
 )