text: from django.urls import include, path
  
  from .views import classroom, students, teachers
  
  urlpatterns = [
      path('', classroom.home, name='home'),
  
      path('students/', include(([
          path('', students.QuizListView.as_view(), name='quiz_list'),
          path('interests/', students.StudentInterestsView.as_view(), name='student_interests'),
          path('taken/', students.TakenQuizListView.as_view(), name='taken_quiz_list'),
          # path('quiz/<int:pk>/', students.take_quiz, name='take_quiz'),
          path('requiz/<int:pk>/',students.retake_quiz, name='retake_quiz'),
          path('newre/<int:pk>/',students.newretake_quiz,name='newretake_quiz'),
          path('requiz/<int:pk>/<int:q_pk>/',students.goto_quiz, name='jump_to_q'),
          path('submit_quiz/<int:pk>/',students.show_submit, name='show_submit'),
          path('submit/<int:pk>/',students.submit_attempt,name='submit_attempt')
      ], 'classroom'), namespace='students')),
  
      path('teachers/', include(([
          path('', teachers.QuizListView.as_view(), name='quiz_change_list'),
          path('quiz/add/', teachers.QuizCreateView.as_view(), name='quiz_add'),
          path('quiz/<int:pk>/', teachers.QuizUpdateView.as_view(), name='quiz_change'),
          path('quiz/<int:pk>/delete/', teachers.QuizDeleteView.as_view(), name='quiz_delete'),
          path('quiz/<int:pk>/results/', teachers.QuizResultsView.as_view(), name='quiz_results'),
          path('quiz/<int:pk>/question/add/', teachers.question_add, name='question_add'),
          path('quiz/<int:quiz_pk>/question/<int:question_pk>/', teachers.question_change, name='question_change'),
          path('quiz/<int:quiz_pk>/question/<int:question_pk>/delete/', teachers.QuestionDeleteView.as_view(), name='question_delete'),
      ], 'classroom'), namespace='teachers')),
  ]
  