Advertisement
themaleem

Untitled

Jul 14th, 2023
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.69 KB | None | 0 0
  1. from django.urls import path
  2. from . import views
  3.  
  4. app_name = "studentregistration"
  5.  
  6. urlpatterns = [
  7.     path("", views.home, name="home"),
  8.     path("about/", views.about, name="about"),
  9.     path("contact/", views.contact, name="contact"),
  10.     path("courses", views.course_list, name="course_list"),
  11.     path("module/<str:code>/register", views.register, name="register"),
  12.     path("course/<int:id>", views.course_details, name="course_details"),
  13.     path("module/<str:code>", views.module_details, name="module_details"),
  14.     path("module/<str:code>/unregister", views.unregister, name="unregister"),
  15.     path("student/registrations/", views.student_registrations, name="registrations"),
  16. ]
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement