from django.urls import path from .views import ( AdminAvailabilityView, AdminAvailabilityConfigView, AppointmentRequestListView, AppointmentRequestCreateView, AppointmentRequestDetailView, ScheduleAppointmentView, RejectAppointmentView, AvailableDatesView, CheckDateAvailabilityView, WeeklyAvailabilityView, UserAppointmentsView, AppointmentStatsView, UserAppointmentStatsView, MatchingAvailabilityView, availability_overview ) urlpatterns = [ path('admin/availability/', AdminAvailabilityView.as_view(), name='admin-availability'), path('availability/config/', AdminAvailabilityConfigView.as_view(), name='availability-config'), path('availability/check/', CheckDateAvailabilityView.as_view(), name='check-availability'), path('availability/weekly/', WeeklyAvailabilityView.as_view(), name='weekly-availability'), path('availability/overview/', availability_overview, name='availability-overview'), path('appointments/', AppointmentRequestListView.as_view(), name='appointment-list'), path('appointments/create/', AppointmentRequestCreateView.as_view(), name='appointment-create'), path('appointments//', AppointmentRequestDetailView.as_view(), name='appointment-detail'), path('appointments//matching-availability/', MatchingAvailabilityView.as_view(), name='matching-availability'), path('appointments//schedule/', ScheduleAppointmentView.as_view(), name='appointment-schedule'), path('appointments//reject/', RejectAppointmentView.as_view(), name='appointment-reject'), path('appointments/available-dates/', AvailableDatesView.as_view(), name='available-dates'), path('user/appointments/', UserAppointmentsView.as_view(), name='user-appointments'), path('appointments/stats/', AppointmentStatsView.as_view(), name='appointment-stats'), path('user/appointments/stats/', UserAppointmentStatsView.as_view(), name='user-appointment-stats'), ]