old_contents: from django.conf.urls import url
  from rest_framework.urlpatterns import format_suffix_patterns
  
  from app.schedule.views.clinic import ClinicDetail
  from app.schedule.views.clinic import ClinicList, ClinicPatients
  from app.schedule.views.dental_plan import DentalPlanList, DentalPlanDetail
  from app.schedule.views.dentist import DentistList, DentistDetail
  from app.schedule.views.patient import PatientList, PatientDetail, PatientSchedule
  from app.schedule.views.schedule import ScheduleList, ScheduleDetail, ScheduleAttendance, ScheduleNotification
  
  urlpatterns = [
      # Schedules
      url(r'^schedules/$', ScheduleList.as_view(), name='schedules'),
      url(r'^schedules/(?P<pk>[0-9]+)/$', ScheduleDetail.as_view(), name='schedule-detail'),
      url(r'^schedules/(?P<pk>[0-9]+)/notification/$', ScheduleNotification.as_view(), name='schedule-notification'),
      url(r'^schedules/attendance/$', ScheduleAttendance.as_view(), name='schedule-attendance'),
  
      # Patients
      url(r'^patients/$', PatientList.as_view(), name='patients'),
      url(r'^patients/(?P<pk>[0-9]+)/$', PatientDetail.as_view(), name='patient-detail'),
      url(r'^patients/(?P<pk>[0-9]+)/schedules/$', PatientSchedule.as_view(), name='patient-schedules'),
  
      # Dentists
      url(r'^dentists/$', DentistList.as_view(), name='dentists'),
      url(r'^dentists/me/$', DentistDetail.as_view(), name='dentist-detail'),
  
      # Clinics
      url(r'^clinics/$', ClinicList.as_view(), name='clinics'),
      url(r'^clinics/(?P<pk>[0-9]+)/$', ClinicDetail.as_view(), name='clinic-detail'),
      url(r'^clinics/(?P<pk>[0-9]+)/patients/$', ClinicPatients.as_view(), name='clinic-patients'),
  
      # Dental Plans
      url(r'^dental-plans/$', DentalPlanList.as_view(), name='dental-plans'),
      url(r'^dental-plans/(?P<pk>[0-9]+)$', DentalPlanDetail.as_view(), name='dental-plan-detail'),
  ]
  urlpatterns = format_suffix_patterns(urlpatterns)
  
new_contents: from django.conf.urls import url
  from rest_framework.urlpatterns import format_suffix_patterns
  
  from app.schedule.views.clinic import ClinicDetail
  from app.schedule.views.clinic import ClinicList, ClinicPatients
  from app.schedule.views.dental_plan import DentalPlanList, DentalPlanDetail
  from app.schedule.views.dentist import DentistList, DentistDetail
  from app.schedule.views.patient import PatientList, PatientDetail, PatientSchedule
  from app.schedule.views.schedule import ScheduleList, ScheduleDetail, ScheduleAttendance, ScheduleNotification
  
  urlpatterns = [
      # Schedules
      url(r'^schedules/$', ScheduleList.as_view(), name='schedules'),
      url(r'^schedules/(?P<pk>[0-9]+)/$', ScheduleDetail.as_view(), name='schedule-detail'),
      url(r'^schedules/(?P<pk>[0-9]+)/notification/$', ScheduleNotification.as_view(), name='schedule-notification'),
      url(r'^schedules/attendance/$', ScheduleAttendance.as_view(), name='schedule-attendance'),
  
      # Patients
      url(r'^patients/$', PatientList.as_view(), name='patients'),
      url(r'^patients/(?P<pk>[0-9]+)/$', PatientDetail.as_view(), name='patient-detail'),
      url(r'^patients/(?P<pk>[0-9]+)/schedules/$', PatientSchedule.as_view(), name='patient-schedules'),
  
      # Dentists
      url(r'^dentists/$', DentistList.as_view(), name='dentists'),
      url(r'^dentists/me/$', DentistDetail.as_view(), name='dentist-detail'),
  
      # Clinics
      url(r'^clinics/$', ClinicList.as_view(), name='clinics'),
      url(r'^clinics/(?P<pk>[0-9]+)/$', ClinicDetail.as_view(), name='clinic-detail'),
      url(r'^clinics/(?P<pk>[0-9]+)/patients/$', ClinicPatients.as_view(), name='clinic-patients'),
  
      # Dental Plans
      url(r'^dental-plans/$', DentalPlanList.as_view(), name='dental-plans'),
      url(r'^dental-plans/(?P<pk>[0-9]+)/$', DentalPlanDetail.as_view(), name='dental-plan-detail'),
  ]
  urlpatterns = format_suffix_patterns(urlpatterns)
  
subject: Add trailing slash to dental plan detail url