Add Django backend, Next.js frontend, and deploy templates
This commit is contained in:
1 parent
fc0c991335
commit
e9cd22d36f
93 files changed
+7840
-1
No files matched your search
@@ -0,0 +1,26 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import (
|
||||
ContactMessageCreateAPIView,
|
||||
DoctorListAPIView,
|
||||
DocumentListAPIView,
|
||||
HomeAPIView,
|
||||
PageDetailAPIView,
|
||||
PageListAPIView,
|
||||
ServiceDetailAPIView,
|
||||
ServiceListAPIView,
|
||||
SiteSettingsAPIView,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("home/", HomeAPIView.as_view(), name="home"),
|
||||
path("site/", SiteSettingsAPIView.as_view(), name="site-settings"),
|
||||
path("pages/", PageListAPIView.as_view(), name="page-list"),
|
||||
path("pages/<slug:slug>/", PageDetailAPIView.as_view(), name="page-detail"),
|
||||
path("services/", ServiceListAPIView.as_view(), name="service-list"),
|
||||
path("services/<slug:slug>/", ServiceDetailAPIView.as_view(), name="service-detail"),
|
||||
path("doctors/", DoctorListAPIView.as_view(), name="doctor-list"),
|
||||
path("documents/", DocumentListAPIView.as_view(), name="document-list"),
|
||||
path("contact/", ContactMessageCreateAPIView.as_view(), name="contact-create"),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user