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//", PageDetailAPIView.as_view(), name="page-detail"), path("services/", ServiceListAPIView.as_view(), name="service-list"), path("services//", 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"), ]