X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/f689c911be1ba63d0f404ddaed570df3c3ffbee9..73fdcfae51e18d4ee8b84214fb44dad3d58ba49a:/stage2/urls.py diff --git a/stage2/urls.py b/stage2/urls.py index 5587fca..98fe2e1 100644 --- a/stage2/urls.py +++ b/stage2/urls.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from django.conf.urls import patterns, url +from django.conf.urls import url from stage2 import views @@ -8,5 +8,11 @@ urlpatterns = ( url(r'^upload/(?P[0-9]*)/(?P[0-9]*)/(?P.*)/$', views.upload, name='stage2_upload'), url(r'^plik/(?P[0-9]*)/(?P[0-9]*)/(?P[0-9]*)/(?P.*)/$', - views.get_file, name='stage2_participant_file') + views.get_file, name='stage2_participant_file'), + url(r'^zadania/$', views.assignment_list, name='stage2_assignments'), + url(r'^zadania/(?P[0-9]*)/$', views.answer_list, name='stage2_answer_list'), + url(r'^zadania/(?P[0-9]*)/ocenione/$', views.marked_answer_list, name='stage2_marked_answers'), + url(r'^plik/(?P[0-9]*)/$', views.expert_download, name='stage2_expert_download'), + url(r'^mark/(?P[0-9]*)/$', views.mark_answer, name='stage2_mark_answer'), + url(r'^csv-results/', views.csv_results, name='stage2_csv_results'), )