# Path: core/views/report.py
# class UserExaminationReportListView(ListView):
# class DepartmentsListView(ListView):
# class DepartmentUsersListView(ListView):
# class DepartmentUserExaminationsListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_department(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_department(self):
#     def get_user(self):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
# 
# Path: core/views/user.py
# class UserListView(ListView):
# class UserDeletedListView(ListView):
# class UserCreateOrUpdateView(CreateOrUpdateView):
# class UserDeleteView(DeleteView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def post(self):
#     def get_initial(self):
#     def form_valid(self, form, commit=True):
#     def get_title(self):
# def user_undelete_view(request, user_id):
# 
# Path: core/views/scheduler.py
# class SchedulerListView(ListView):
# class SchedulerCreateOrUpdateView(CreateOrUpdateView):
# class SchedulerDetailView(DetailView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# 
# Path: core/views/examinations.py
# class ExaminationListView(ListView):
# class ExaminationCreateOrUpdateView(CreateOrUpdateView):
# class ExaminationQuestionListView(ParentListView):
# class ExaminationQuestionCreateOrUpdateView(ParentCreateOrUpdateView):
# class QuestionAnswerCreateOrUpdateView(ParentCreateOrUpdateView):
# class ExaminationDeleteView(DeleteView):
# class ExaminationDeletedListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
#     def get_success_url(self):
#     def get_title(self):
#     def get_title(self):
#     def get_success_url(self):
#     def get_context_data(self, **kwargs):
# def examination_question_delete_view(request, examination_id, question_id):
#     def get_success_url(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# def question_answer_delete_view(request, examination_id, question_id, answer_id):
#     def get_queryset(self):
#     def post(self):
# 
# Path: core/views/api.py
# def department_import(request):
# def user_import(request):
# 
# Path: core/views/user_examinations.py
# class UserExaminationListView(ListView):
# class UserExaminationCreateOrUpdateView(CreateOrUpdateView):
# class UserExaminationDeleteView(DeleteView):
# class UserExaminationDeletedListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_initial(self):
#     def form_valid(self, form, commit=True):
#     def get_queryset(self):
#     def post(self):
# 
# Path: core/views/examination.py
# def user_examination_list_view(request):
#     def get_right_answers_count(self):
#     def get_user_examination(self):
#     def get_user_examination_question_log(self):
#     def dispatch(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_answer_log_qs(self):
#     def get_question_log(self):
#     def get_answer_log_for_question_log(self):
#     def get_answers_stats(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# class UserExaminationProcessView(TemplateView):
# class UserExaminationDetailView(DetailView):
# 
# Path: core/views/doc.py
# def doc(request):
#     return render(request, 'core/doc.html', {'title': 'Инструкция'})
# 
# Path: core/views/management/department.py
# class DepartmentListView(ListView):
# class DepartmentCreateOrUpdateView(CreateOrUpdateView):
# class DepartmentDeleteView(DeleteView):
# class DepartmentDeletedListView(ListView):
#     def get_title(self):
#     def get_queryset(self):
#     def post(self):


from django.conf.urls import patterns, url
from core.views import report, user, scheduler, examinations, api, user_examinations, department, examination, doc
from core.views.management import department


urlpatterns = [
    url(r'^$', examination.user_examination_list_view, name='user_examination_list_view'),
    url(r'^(?P<user_examination_id>\d+)/$', examination.user_examination_process_view, name='user_examination_answer_view'),
    url(r'^(?P<user_examination_id>\d+)/(?P<user_examination_question_log_id>\d+)/$', examination.user_examination_process_view, name='user_examination_answer_view'),
    url(r'^view/(?P<user_examination_id>\d+)/$', examination.user_examination_detail_view, name='user_examination_detail_view'),

    # url(r'^api/import/department/$', api.department_import, name='department_import'),
    # url(r'^api/import/user/$', api.user_import, name='user_import'),

    url(r'^adm/report/$', report.user_examination_report_list_view, name='user_examination_report_list_view'),


# Path: core/views/report.py
# class UserExaminationReportListView(ListView):
# class DepartmentsListView(ListView):
# class DepartmentUsersListView(ListView):
# class DepartmentUserExaminationsListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_department(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_department(self):
#     def get_user(self):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
# 
# Path: core/views/user.py
# class UserListView(ListView):
# class UserDeletedListView(ListView):
# class UserCreateOrUpdateView(CreateOrUpdateView):
# class UserDeleteView(DeleteView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def post(self):
#     def get_initial(self):
#     def form_valid(self, form, commit=True):
#     def get_title(self):
# def user_undelete_view(request, user_id):
# 
# Path: core/views/scheduler.py
# class SchedulerListView(ListView):
# class SchedulerCreateOrUpdateView(CreateOrUpdateView):
# class SchedulerDetailView(DetailView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# 
# Path: core/views/examinations.py
# class ExaminationListView(ListView):
# class ExaminationCreateOrUpdateView(CreateOrUpdateView):
# class ExaminationQuestionListView(ParentListView):
# class ExaminationQuestionCreateOrUpdateView(ParentCreateOrUpdateView):
# class QuestionAnswerCreateOrUpdateView(ParentCreateOrUpdateView):
# class ExaminationDeleteView(DeleteView):
# class ExaminationDeletedListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_title(self):
#     def get_success_url(self):
#     def get_title(self):
#     def get_title(self):
#     def get_success_url(self):
#     def get_context_data(self, **kwargs):
# def examination_question_delete_view(request, examination_id, question_id):
#     def get_success_url(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# def question_answer_delete_view(request, examination_id, question_id, answer_id):
#     def get_queryset(self):
#     def post(self):
# 
# Path: core/views/api.py
# def department_import(request):
# def user_import(request):
# 
# Path: core/views/user_examinations.py
# class UserExaminationListView(ListView):
# class UserExaminationCreateOrUpdateView(CreateOrUpdateView):
# class UserExaminationDeleteView(DeleteView):
# class UserExaminationDeletedListView(ListView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_initial(self):
#     def form_valid(self, form, commit=True):
#     def get_queryset(self):
#     def post(self):
# 
# Path: core/views/examination.py
# def user_examination_list_view(request):
#     def get_right_answers_count(self):
#     def get_user_examination(self):
#     def get_user_examination_question_log(self):
#     def dispatch(self, request, *args, **kwargs):
#     def post(self, request, *args, **kwargs):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
#     def get_queryset(self):
#     def get_answer_log_qs(self):
#     def get_question_log(self):
#     def get_answer_log_for_question_log(self):
#     def get_answers_stats(self):
#     def get_title(self):
#     def get_context_data(self, **kwargs):
# class UserExaminationProcessView(TemplateView):
# class UserExaminationDetailView(DetailView):
# 
# Path: core/views/doc.py
# def doc(request):
#     return render(request, 'core/doc.html', {'title': 'Инструкция'})
# 
# Path: core/views/management/department.py
# class DepartmentListView(ListView):
# class DepartmentCreateOrUpdateView(CreateOrUpdateView):
# class DepartmentDeleteView(DeleteView):
# class DepartmentDeletedListView(ListView):
#     def get_title(self):
#     def get_queryset(self):
#     def post(self):


# Path: core/urls.py
from django.conf.urls import patterns, url
from core.views import report, user, scheduler, examinations, api, user_examinations, department, examination, doc
from core.views.management import department



urlpatterns = [
    url(r'^$', examination.user_examination_list_view, name='user_examination_list_view'),
    url(r'^(?P<user_examination_id>\d+)/$', examination.user_examination_process_view, name='user_examination_answer_view'),
    url(r'^(?P<user_examination_id>\d+)/(?P<user_examination_question_log_id>\d+)/$', examination.user_examination_process_view, name='user_examination_answer_view'),
    url(r'^view/(?P<user_examination_id>\d+)/$', examination.user_examination_detail_view, name='user_examination_detail_view'),

    # url(r'^api/import/department/$', api.department_import, name='department_import'),
    # url(r'^api/import/user/$', api.user_import, name='user_import'),

    url(r'^adm/report/$', report.user_examination_report_list_view, name='user_examination_report_list_view'),


    url(r'^adm/departments/$', report.departments_report_list_view, name='departments_report_list_view'),