from django.urls import re_path

from devilry.devilry_statistics.api.assignment import examiner_average_grading_points, examiner_group_results, \
    examiner_details


urlpatterns = [
    re_path(r'^assignment/examiner-average-points/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
        examiner_average_grading_points.ExaminerAverageGradingPointsApi.as_view(),
        name='devilry_assignment_statistics_examiner_average_points'),
    re_path(r'^assignment/examiner-group-results/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
        examiner_group_results.ExaminerGroupResultApi.as_view(),
        name='devilry_assignment_statistics_examiner_group_results'),
    re_path(r'^assignment/examiner-details/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
        examiner_details.ExaminerDetailsApi.as_view(),
        name='devilry_assignment_statistics_examiner_details')
]

# from django.conf.urls import url

# from devilry.devilry_statistics.api.assignment import examiner_average_grading_points, examiner_group_results, \
#     examiner_details


# urlpatterns = [
#     url(r'^assignment/examiner-average-points/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
#         examiner_average_grading_points.ExaminerAverageGradingPointsApi.as_view(),
#         name='devilry_assignment_statistics_examiner_average_points'),
#     url(r'^assignment/examiner-group-results/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
#         examiner_group_results.ExaminerGroupResultApi.as_view(),
#         name='devilry_assignment_statistics_examiner_group_results'),
#     url(r'^assignment/examiner-details/(?P<assignment_id>\d+)/(?P<relatedexaminer_id>\d+)$',
#         examiner_details.ExaminerDetailsApi.as_view(),
#         name='devilry_assignment_statistics_examiner_details')
# ]

@@ -895,920 +895,4 @@
 )%0A%5D%0A
-%0A# from django.conf.urls import url%0A%0A# from devilry.devilry_statistics.api.assignment import examiner_average_grading_points, examiner_group_results, %5C%0A#     examiner_details%0A%0A%0A# urlpatterns = %5B%0A#     url(r'%5Eassignment/examiner-average-points/(?P%3Cassignment_id%3E%5Cd+)/(?P%3Crelatedexaminer_id%3E%5Cd+)$',%0A#         examiner_average_grading_points.ExaminerAverageGradingPointsApi.as_view(),%0A#         name='devilry_assignment_statistics_examiner_average_points'),%0A#     url(r'%5Eassignment/examiner-group-results/(?P%3Cassignment_id%3E%5Cd+)/(?P%3Crelatedexaminer_id%3E%5Cd+)$',%0A#         examiner_group_results.ExaminerGroupResultApi.as_view(),%0A#         name='devilry_assignment_statistics_examiner_group_results'),%0A#     url(r'%5Eassignment/examiner-details/(?P%3Cassignment_id%3E%5Cd+)/(?P%3Crelatedexaminer_id%3E%5Cd+)$',%0A#         examiner_details.ExaminerDetailsApi.as_view(),%0A#         name='devilry_assignment_statistics_examiner_details')%0A# %5D%0A

remove outcommented code