urlpatterns = [
path(‘‘, views.dashboard, name="sales_dashboard"),
path(‘stu_enrollment/‘, views.stu_enrollment, name="stu_enrollment"),
re_path(‘enrollment/(\d+)/fileupload/‘, views.enrollment_fileupload, name="enrollment_fileupload"), #这个url要写在上面
re_path(‘enrollment/(\d+)/‘, views.enrollment, name="enrollment"),
]