from django.urls import path from .views.userexportview import UserExportView from .views.userjoinview import UserJoinView from .views.userlistview import UserListView, UserListLogin from .views.userquitview import UserQuitView from .views.userview import UserView, UserEdit urlpatterns = [ # 注册登录代码 path('', UserListView.as_view()), path('login', UserListLogin.as_view()), path('export', UserExportView.as_view()), path('', UserView.as_view()), path('/edit', UserEdit.as_view()), path('/join', UserJoinView.as_view()), path('/quit', UserQuitView.as_view()) ]