cms/cmsMain/urls.py
2024-10-02 10:31:07 +03:00

11 lines
361 B
Python

from django.urls import path, include
from .views import MainView, PageView, FeedbackView
from django.conf.urls.static import static
from django.conf import settings
urlpatterns = [
*static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT),
path('api/feedback',FeedbackView.as_view()),
path('<slug:page>',PageView.as_view()),
path('',MainView.as_view())
]