You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
954 B

from django.urls import path
from . import views
urlpatterns = [
path('',views.ChooseLoginView.as_view()),
path('patientlogin/',views.PatientLoginView.as_view()),
path('doctorlogin/',views.DoctorLoginView.as_view()),
path('patientregister/',views.PatientRegisterView.as_view()),
path('patientcenter/',views.PatientCenterView.as_view()),
path('choosedepartment/',views.ChooseDepartmentView.as_view()),
path('choosedoctorandtime/<int:department_id>/',views.ChooseDoctorAndTimeView.as_view()),
path('confirmregistration/<int:department_id>/<int:doctor_id>/<str:consultation_hour>/',views.ConfirmRegistrationView.as_view()),
path('confirmregistration/',views.ConfirmRegistrationView.as_view()),
path('patientshowregistration/',views.PatientShowRegistrationView.as_view()),
path('doctorcenter/',views.DoctorCenterView.as_view()),
path('doctorshowregistration/', views.DoctorShowRegistrationView.as_view())
]