更改enroll命名,添加了注释,向get_error_msg中添加了一些错误代码
This commit is contained in:
+3
-3
@@ -4,8 +4,8 @@ from . import views
|
||||
# from rest_framework.routers import DefaultRouter
|
||||
|
||||
urlpatterns = [
|
||||
path("department/", views.Department_message.as_view()),
|
||||
path("sign_up/", views.Sign_up.as_view()),
|
||||
path("sign_up/verification_code/", views.Send_email.as_view()),
|
||||
path("department/", views.department_message.as_view()),
|
||||
path("sign_up/", views.sign_up.as_view()),
|
||||
path("sign_up/verification_code/", views.send_email.as_view()),
|
||||
# path("sign_up/<string:pk>", views.Sign_in.as_view({"get": "get"}))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user