diff --git a/atlas/urls.py b/atlas/urls.py index 3d07ca3c..ddb46977 100755 --- a/atlas/urls.py +++ b/atlas/urls.py @@ -9,27 +9,87 @@ app_name = "atlas" urlpatterns = [ path("", views.CaseView.as_view(), name="index"), - path("create/", RedirectView.as_view(pattern_name='atlas:case_create', permanent=False), name="create"), + path( + "create/", + RedirectView.as_view(pattern_name="atlas:case_create", permanent=False), + name="create", + ), path("author//", views.author_detail, name="author_detail"), path("author/", views.author_list, name="author_list"), path("case/", views.CaseView.as_view(), name="case_view"), path("collection/", views.CollectionView.as_view(), name="collection_view"), - path("collection/create", views.CaseCollectionCreate.as_view(), name="collection_create"), - path("collection//delete", views.CaseCollectionDelete.as_view(), name="collection_delete"), - path("collection//update", views.CaseCollectionUpdate.as_view(), name="collection_update"), + path( + "collection/create", + views.CaseCollectionCreate.as_view(), + name="collection_create", + ), + path( + "collection//delete", + views.CaseCollectionDelete.as_view(), + name="collection_delete", + ), + path( + "collection//update", + views.CaseCollectionUpdate.as_view(), + name="collection_update", + ), path("collection/", views.collection_detail, name="collection_detail"), path("collection//take", views.collection_take, name="collection_take"), - path("collection//cids", views.GenericExamViews.exam_cids, name="exam_cids"), - path("collection//cids//delete_answers", views.delete_collection_cid_answers, name="delete_collection_cid_answers"), - path("collection//delete_answers", views.delete_collection_answers, name="delete_collection_answers"), - path("collection//cids/edit", views.GenericExamViews.exam_cids_edit, name="exam_cids_edit"), - path("collection//mark", views.collection_mark_overview, name="collection_mark_overview"), - path("collection//mark/", views.collection_mark_question, name="collection_mark_question"), - path("collection//scores", views.collection_scores_cid, name="collection_scores_cid"), - path("collection//take//", views.collection_take_overview, name="collection_take_overview"), - path("collection//", views.collection_case_view, name="collection_case_view"), - path("collection///take//", views.collection_case_view_take, name="collection_case_view_take"), - path("collection///review", views.collection_case_view_review, name="collection_case_view_review"), + path( + "collection//cids", + views.GenericExamViews.exam_cids, + name="exam_cids", + ), + path( + "collection//cids//delete_answers", + views.delete_collection_cid_answers, + name="delete_collection_cid_answers", + ), + path( + "collection//delete_answers", + views.delete_collection_answers, + name="delete_collection_answers", + ), + path( + "collection//cids/edit", + views.GenericExamViews.exam_cids_edit, + name="exam_cids_edit", + ), + path( + "collection//mark", + views.collection_mark_overview, + name="collection_mark_overview", + ), + path( + "collection//mark/", + views.collection_mark_question, + name="collection_mark_question", + ), + path( + "collection//scores", + views.collection_scores_cid, + name="collection_scores_cid", + ), + path( + "collection//take//", + views.collection_take_overview, + name="collection_take_overview", + ), + path( + "collection//", + views.collection_case_view, + name="collection_case_view", + ), + path( + "collection///take//", + views.collection_case_view_take, + name="collection_case_view_take", + ), + path( + "collection///review", + views.collection_case_view_review, + name="collection_case_view_review", + ), path( "collection//json_edit", views.GenericExamViews.exam_json_edit, @@ -49,7 +109,9 @@ urlpatterns = [ name="condition_update", ), path("subspecialty/", views.SubspecialtyView.as_view(), name="subspecialty_view"), - path("subspecialty/", views.subspecialty_detail, name="subspecialty_detail"), + path( + "subspecialty/", views.subspecialty_detail, name="subspecialty_detail" + ), path("condition/create", views.ConditionCreate.as_view(), name="condition_create"), path("finding/", views.FindingView.as_view(), name="finding_view"), path("finding/", views.finding_detail, name="finding_detail"), @@ -119,15 +181,23 @@ urlpatterns = [ # path("unchecked/", views.unchecked_list, name="unchecked_list"), # path("verified//", views.verified_detail, name="verified_detail"), path("case//", views.case_detail, name="case_detail"), - #path("case//collection-form", views.AddCollectionToCaseView.as_view(), name="case_collection_form"), - path("case//collection-form", views.add_collection_to_case_form, name="case_collection_form"), + # path("case//collection-form", views.AddCollectionToCaseView.as_view(), name="case_collection_form"), + path( + "case//collection-form", + views.add_collection_to_case_form, + name="case_collection_form", + ), path("case//clone", views.AtlasClone.as_view(), name="case_clone"), # path("verified/", views.verified, name="verified"), # path("all_questions/", views.all_questions, name="all_questions"), path("case//scrap", views.atlas_scrap, name="case_scrap"), path("case//delete", views.CaseDelete.as_view(), name="case_delete"), path("case/create/", views.AtlasCreate.as_view(), name="case_create"), - path("case/collection//create", views.AtlasCreate.as_view(), name="atlas_create_exam"), + path( + "case/collection//create", + views.AtlasCreate.as_view(), + name="atlas_create_exam", + ), path("series/create", views.SeriesCreate.as_view(), name="series_create"), path( "series//create", @@ -175,7 +245,17 @@ urlpatterns = [ name="structure-autocomplete", ), path("presentation/", views.PresentationView.as_view(), name="presentation_view"), - path("presentation/", views.presentation_detail, name="presentation_detail"), - path("process/", views.PathologicalProcessView.as_view(), name="pathological_process_view"), - path("process/", views.pathological_process_detail, name="pathological_process_detail"), + path( + "presentation/", views.presentation_detail, name="presentation_detail" + ), + path( + "process/", + views.PathologicalProcessView.as_view(), + name="pathological_process_view", + ), + path( + "process/", + views.pathological_process_detail, + name="pathological_process_detail", + ), ]