X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/f689c911be1ba63d0f404ddaed570df3c3ffbee9..3017d1ec2631585dff08ab4ae1aa0086995dfdcf:/stage2/urls.py diff --git a/stage2/urls.py b/stage2/urls.py index 5587fca..c252dfa 100644 --- a/stage2/urls.py +++ b/stage2/urls.py @@ -1,12 +1,17 @@ # -*- 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.answer_list, + kwargs={'marked': True}, name='stage2_marked_answers'), + url(r'^plik/(?P[0-9]*)/$', views.expert_download, name='stage2_expert_download'), + url(r'^csv-results/', views.csv_results, name='stage2_csv_results'), + url(r'^csv-details/(?P[0-9]*)/$', views.csv_details, name='stage2_csv_details'), )