X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/f689c911be1ba63d0f404ddaed570df3c3ffbee9..295d04fac98078a07af2df1fb0874a84079fd17e:/stage2/urls.py?ds=sidebyside diff --git a/stage2/urls.py b/stage2/urls.py index 5587fca..158027b 100644 --- a/stage2/urls.py +++ b/stage2/urls.py @@ -1,12 +1,16 @@ # -*- coding: utf-8 -*- -from django.conf.urls import patterns, url +from django.conf.urls import url from stage2 import views urlpatterns = ( url(r'^uczestnik/(?P[0-9]*)/(?P.*)/$', views.participant_view, name='stage2_participant'), - 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'), )