from django.urls import path from App import views from django.conf import settings from django.conf.urls.static import static 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/', 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/', views.checkTask, name='checkTask'), path('edit/', views.editMD, name='editMD'), path('paperlist/', views.paperList, name='paperList'), path('paperview/', views.paperDetail, name='paperDetail'), path('video/', views.videoView, name='videoView'), path('videolist/', views.videoList, name='videoList'), ] urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)