예제 #1
0
파일: urls.py 프로젝트: dankohn/commcare-hq
    url(r'^topojson$', TopoJsonView.as_view(), name='topojson'),
    url(r'^icds_export_indicator$', ExportIndicatorView.as_view(), name='icds_export_indicator'),
    url(r'^fact_sheets$', FactSheetsView.as_view(), name='fact_sheets'),
    url(r'^aggregation_script/', AggregationScriptPage.as_view(), name=AggregationScriptPage.urlname),
    url(r'^awc_locations/', AWCLocationView.as_view(), name='awc_locations'),
    url(r'^icds_download_pdf/', DownloadPDFReport.as_view(), name='icds_download_pdf'),
    url(r'^icds_download_excel/', DownloadExportReport.as_view(), name='icds_download_excel'),
    url(r'^issnip_pdf_status/', CheckExportReportStatus.as_view(), name='issnip_pdf_status'),
    url(r'^have_access_to_location/', HaveAccessToLocation.as_view(), name='have_access_to_location'),
    url(r'^inactive_aww', InactiveAWW.as_view(), name='inactive_aww'),
    url(r'^inactive_dashboard_users', InactiveDashboardUsers.as_view(), name='inactive_dashboard_users'),
    url(r'^health_indicators', DishaAPIView.as_view(), name='disha_api'),
    url(r'^nic_indicators', NICIndicatorAPIView.as_view(), name='nic_indicator_api'),
    url(r'^cas_export', CasDataExport.as_view(), name='cas_export'),
    url(r'^ap_webservice', APWebservice.as_view(), name='ap_webservice'),
    url(r'^daily_indicators', DailyIndicators.as_view(), name='daily_indicators'),
    url(r'^mwcd_indicators', MWCDDataView.as_view(), name='mwcd_indicators'),
    url(r'^data_export', CasDataExportAPIView.as_view(), name='data_export_api'),
    url(r'^governance_apis/home_visit/', GovernanceHomeVisitAPI.as_view(), name='governance_apis_home_visit'),
    url(r'^governance_apis/beneficiary/', GovernanceBeneficiaryAPI.as_view(), name='governance_apis_beneficiary'),
    url(r'^governance_apis/state_names/', GovernanceStateListAPI.as_view(), name='governance_apis_state_names'),
    url(r'^governance_apis/cbe/', GovernanceCBEAPI.as_view(), name='governance_apis_cbe'),
    url(r'^governance_apis/vhsnd/', GovernanceVHNDSAPI.as_view(), name='governance_apis_vhnds'),
    url(r'^bihar_demographics/household_members_data/', BiharDemographicsAPI.as_view(), name='household_members_data'),
    url(r'^bihar_demographics/mother_details/', BiharMotherDetailsAPI.as_view(), name='mother_details'),
    url(r'^bihar_demographics/children_and_vaccines/', BiharVaccinesAPI.as_view(), name='children_and_vaccines'),
    url(r'^bihar_demographics/school_data/', BiharSchoolAPI.as_view(), name='school_data')
]

DASHBOARD_URL_GROUPS = urlpatterns + dashboard_urls + mobile_dashboard_urls + maternal_and_child_urls + cas_reach_urls + demographics_urls + awc_infrastructure_urls
예제 #2
0
    EnrolledWomenView, LactatingEnrolledWomenView, AdolescentGirlsView,
    AdhaarBeneficiariesView, CleanWaterView, FunctionalToiletView,
    MedicineKitView, InfantsWeightScaleView, AdultWeightScaleView,
    AggregationScriptPage, ICDSBugReportView, AWCLocationView,
    DownloadPDFReport, CheckExportReportStatus, ICDSImagesAccessorAPI,
    HaveAccessToLocation, InactiveAWW, DownloadExportReport, DishaAPIView,
    NICIndicatorAPIView, LadySupervisorView, CasDataExport,
    CasDataExportAPIView, ServiceDeliveryDashboardView, InactiveDashboardUsers,
    APWebservice)

dashboardurls = [
    url(r'^icds_image_accessor/(?P<form_id>[\w\-:]+)/(?P<attachment_id>.*)$',
        ICDSImagesAccessorAPI.as_view(),
        name='icds_image_accessor'),
    url(r'^data_export',
        CasDataExportAPIView.as_view(),
        name='data_export_api'),
    url('^', DashboardView.as_view(), name='icds_dashboard'),
]

maternal_and_child_urls = [
    url(r'^underweight_children/(?P<step>[\w-]+)/',
        PrevalenceOfUndernutritionView.as_view(),
        name='underweight_children'),
    url(r'^prevalence_of_severe/(?P<step>[\w-]+)/',
        PrevalenceOfSevereView.as_view(),
        name='prevalence_of_severe'),
    url(r'^prevalence_of_stunting/(?P<step>[\w-]+)/',
        PrevalenceOfStuntingView.as_view(),
        name='prevalence_of_stunting'),
    url(r'^low_birth/(?P<step>[\w-]+)/',
예제 #3
0
from custom.icds_reports.views import TableauView, DashboardView, IcdsDynamicTemplateView, ProgramSummaryView, \
    PrevalenceOfUndernutritionView, LocationView, LocationAncestorsView, AwcReportsView, \
    ExportIndicatorView, FactSheetsView, PrevalenceOfSevereView, PrevalenceOfStuntingView, \
    ExclusiveBreastfeedingView, NewbornsWithLowBirthWeightView, EarlyInitiationBreastfeeding, \
    ChildrenInitiatedView, InstitutionalDeliveriesView, ImmunizationCoverageView, AWCDailyStatusView, \
    AWCsCoveredView, RegisteredHouseholdView, EnrolledChildrenView, EnrolledWomenView, \
    LactatingEnrolledWomenView, AdolescentGirlsView, AdhaarBeneficiariesView, CleanWaterView, \
    FunctionalToiletView, MedicineKitView, InfantsWeightScaleView, AdultWeightScaleView, AggregationScriptPage, \
    ICDSBugReportView, AWCLocationView, DownloadPDFReport, CheckExportReportStatus, ICDSImagesAccessorAPI, \
    HaveAccessToLocation, InactiveAWW, DownloadExportReport, DishaAPIView, LadySupervisorView, CasDataExport, \
    CasDataExportAPIView, ServiceDeliveryDashboardView, InactiveDashboardUsers

dashboardurls = [
    url(r'^icds_image_accessor/(?P<form_id>[\w\-:]+)/(?P<attachment_id>.*)$',
        ICDSImagesAccessorAPI.as_view(), name='icds_image_accessor'),
    url(r'^data_export', CasDataExportAPIView.as_view(), name='data_export_api'),
    url('^', DashboardView.as_view(), name='icds_dashboard'),
]

maternal_and_child_urls = [
    url(
        r'^underweight_children/(?P<step>[\w-]+)/',
        PrevalenceOfUndernutritionView.as_view(),
        name='underweight_children'),
    url(
        r'^prevalence_of_severe/(?P<step>[\w-]+)/',
        PrevalenceOfSevereView.as_view(),
        name='prevalence_of_severe'),
    url(
        r'^prevalence_of_stunting/(?P<step>[\w-]+)/',
        PrevalenceOfStuntingView.as_view(),