Add migration actions for Rapid questions to Shorts in admin and templates
This commit is contained in:
@@ -30,6 +30,7 @@ urlpatterns = [
|
||||
name="question_save_annotation",
|
||||
),
|
||||
path("question/<int:pk>/split", views.rapid_split, name="rapid_split"),
|
||||
path("question/<int:pk>/migrate", views.question_migrate_to_shorts, name="question_migrate_to_shorts"),
|
||||
path("question/<int:pk>/clone", views.RapidClone.as_view(), name="rapid_clone"),
|
||||
# path("verified/", views.verified, name="verified"),
|
||||
# path("all_questions/", views.all_questions, name="all_questions"),
|
||||
@@ -62,6 +63,7 @@ urlpatterns = [
|
||||
path("exam/create", views.ExamCreate.as_view(), name="exam_create"),
|
||||
path("exam/<int:exam_id>/clone", views.ExamClone.as_view(), name="exam_clone"),
|
||||
path("exam/<int:pk>/update", views.ExamUpdate.as_view(), name="exam_update"),
|
||||
path("exam/<int:pk>/migrate_all", views.exam_migrate_rapids_to_shorts, name="exam_migrate_rapids_to_shorts"),
|
||||
path("exam/<int:pk>/delete", views.ExamDelete.as_view(), name="exam_delete"),
|
||||
path("create/", views.RapidCreate.as_view(), name="question_create"),
|
||||
path("create/exam/<int:pk>", views.RapidCreate.as_view(), name="question_create_exam"),
|
||||
|
||||
Reference in New Issue
Block a user