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.
24 lines
1016 B
24 lines
1016 B
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) |
|
|
|
|