from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('',views.index), path('addnews/',views.addnews), path('addnewsdata/',views.addnewsdata,name='addnewsdata'), path('contentmanager/',views.contentmanager), path('contentedit/',views.contentedit,name='contentedit'), path('contentupdate/',views.contentupdate,name='contentupdate'), path('contentdelete/',views.contentdelete,name='contentdelete'), path('contentresult/',views.contentresult,name='contentresult'), path('regisuser/',views.regisuser), path('regisuserdata/',views.regisuserdata,name='regisuserdata'), path('login/',views.login), path('logincheck/',views.logincheck,name='logincheck'), path('logoff/',views.logoff), path('warning/',views.warning) ] + static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT) + static(settings.STATIC_URL,document_root=settings.STATIC_ROOT)