from django.conf.urls import url
from . import views

app_name = 'NGO'

urlpatterns = [
    url(r'^$', views.home, name='index'),
    url(r'^chat_list/$', views.chat, name='chat_list'),
    url(r'^certificate/$', views.certificate, name='certificate'),
    url(r'^certificate_add/$', views.certificate_add, name='certificate_add'),
    url(r'^sent_certificate/(?P<id>\d+)/$', views.certificate_sent, name='sent_certificate'),
    url(r'^event_list/$', views.event_list, name='event_list'),
    url(r'^event_details/(?P<id>\d+)/$', views.event_details, name='event_details'),
    url(r'^events_add/$', views.events_add, name='events_add'),
    url(r'^children_list/$', views.children, name='children_all'),    
    url(r'^add_children/$', views.children_add, name='children_add'),
    url(r'^children_detail/(?P<id>\d+)/$', views.children_detail, name='children_detail'),
    url(r'^donor_list/$', views.donor_list, name='donor_list'),
    url(r'^donor_detail/(?P<id>\d+)/$', views.donor_detail, name='donor_detail'),
    url(r'^notification_list/$', views.notification_list, name='notification_list'),
    url(r'^notification_detail/(?P<id>\d+)/$', views.notification_detail, name='notification_detail'),
    url(r'^profile/$', views.profile, name='profile'),
    url(r'^profile_edit/(?P<id>\d+)/$', views.profile_edit, name='profile_edit'),
    url(r'^edit_children/(?P<id>\d+)/$', views.children_edit, name='edit_children'),
    url(r'^change_password/$', views.change_password, name='change_password'),
    url(r'^reports/$', views.report_demo, name='reports'),
    url(r'^report_detail/(?P<id>\d+)/$', views.report_detail, name='report_detail'),
    url(r'^print_report/(?P<id>\d+)/$', views.report_print, name='print_report'),

]
