from django.urls import path from .views import ( UserProfileView, PredictionView, PatientHistoryView, DoctorDashboardView, DownloadReportView, PublicStatsView, EmailReportView, # New Imports for Appointment System DoctorListView, AppointmentView, AppointmentStatusView ) urlpatterns = [ path('profile/', UserProfileView.as_view(), name='profile'), path('predict/', PredictionView.as_view(), name='predict'), path('history/', PatientHistoryView.as_view(), name='history'), path('doctor/dashboard/', DoctorDashboardView.as_view(), name='doctor-dashboard'), path('report//', DownloadReportView.as_view(), name='download-report'), path('stats/', PublicStatsView.as_view(), name='public-stats'), path('email-report//', EmailReportView.as_view(), name='email-report'), # New URL Patterns for Appointment System path('doctors-list/', DoctorListView.as_view(), name='doctors-list'), path('appointments/', AppointmentView.as_view(), name='appointments'), path('appointments//status/', AppointmentStatusView.as_view(), name='appointment-status'), ]