X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/f689c911be1ba63d0f404ddaed570df3c3ffbee9..b77d50e34559aa2f6e34953387f0c105e96def57:/stage2/urls.py diff --git a/stage2/urls.py b/stage2/urls.py index 5587fca..081c2b0 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,10 @@ 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'), )