# -*- coding: utf-8 -*-

# django imports
from django.urls import path, include

# devilry imports
from devilry.devilry_group.cradmin_instances import crinstance_admin
from devilry.devilry_group.cradmin_instances import crinstance_examiner
from devilry.devilry_group.cradmin_instances import crinstance_student
# from devilry.devilry_group.views.download_files import feedbackfeed_download_files

urlpatterns = [
    path('student/', include(crinstance_student.StudentCrInstance.urls())),
    path('examiner/', include(crinstance_examiner.ExaminerCrInstance.urls())),
    path('admin/', include(crinstance_admin.AdminCrInstance.urls())),

    # url(r'devilry-feedbackfeed-file-download/(?P<feedbackset_id>[0-9]+)/(?P<commentfile_id>[0-9]+)',
    #     feedbackfeed_download_files.FileDownloadFeedbackfeedView.as_view(),
    #     name='devilry-feedbackfeed-file-download'),
    #
    # url(r'devilry-feedbackfeed-compressed-feedback-file-download/(?P<feedbackset_id>[0-9]+)',
    #     feedbackfeed_download_files.CompressedFeedbackSetFileDownloadView.as_view(),
    #     name='devilry-feedbackfeed-compressed-feedbackset-file-download'),
    #
    # url(r'devilry-feedbackfeed-compressed-groupcomment-file-download/(?P<groupcomment_id>[0-9]+)',
    #     feedbackfeed_download_files.CompressedGroupCommentFileDownload.as_view(),
    #     name='devilry-feedbackfeed-compressed-groupcomment-file-download'),
]


# # django imports
# from django.conf.urls import url, include

# # devilry imports
# from devilry.devilry_group.cradmin_instances import crinstance_admin
# from devilry.devilry_group.cradmin_instances import crinstance_examiner
# from devilry.devilry_group.cradmin_instances import crinstance_student
# # from devilry.devilry_group.views.download_files import feedbackfeed_download_files

# urlpatterns = [
#     url(r'^student/', include(crinstance_student.StudentCrInstance.urls())),
#     url(r'^examiner/', include(crinstance_examiner.ExaminerCrInstance.urls())),
#     url(r'^admin/', include(crinstance_admin.AdminCrInstance.urls())),

#     # url(r'devilry-feedbackfeed-file-download/(?P<feedbackset_id>[0-9]+)/(?P<commentfile_id>[0-9]+)',
#     #     feedbackfeed_download_files.FileDownloadFeedbackfeedView.as_view(),
#     #     name='devilry-feedbackfeed-file-download'),
#     #
#     # url(r'devilry-feedbackfeed-compressed-feedback-file-download/(?P<feedbackset_id>[0-9]+)',
#     #     feedbackfeed_download_files.CompressedFeedbackSetFileDownloadView.as_view(),
#     #     name='devilry-feedbackfeed-compressed-feedbackset-file-download'),
#     #
#     # url(r'devilry-feedbackfeed-compressed-groupcomment-file-download/(?P<groupcomment_id>[0-9]+)',
#     #     feedbackfeed_download_files.CompressedGroupCommentFileDownload.as_view(),
#     #     name='devilry-feedbackfeed-compressed-groupcomment-file-download'),
# ]
