You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
myblog/App/urls.py

20 lines
897 B

3 years ago
from django.urls import path
from App import views
urlpatterns = [
path('', views.index, name='index'),
path('login/', views.login, name='login'),
path('register/', views.register, name='register'),
path('userinfo/', views.userinfo, name='userinfo'),
path('repassword/', views.repassword, name='repassword'),
path('logout/', views.logout, name='logout'),
path('dashboard/<type>', views.dashboard, name='dashboard'),
path('upload/', views.upload, name='upload'),
path('image/', views.listImage, name='image'),
path('tasklist/', views.listTask, name='listTask'),
path('taskadd/', views.addTask, name='addTask'),
path('taskcheck/<id>', views.checkTask, name='checkTask'),
path('edit/<id>', views.editMD, name='editMD'),
path('paperlist/', views.paperList, name='paperList'),
path('paperview/<id>', views.paperDetail, name='paperDetail'),
]