예제 #1
0
파일: urls.py 프로젝트: mxdxlx/commcare-hq
 url(r'^forwarding/new/Dhis2Repeater/$',
     AddDhis2RepeaterView.as_view(), {'repeater_type': 'Dhis2Repeater'},
     name=AddDhis2RepeaterView.urlname),
 url(r'^forwarding/new/Dhis2EntityRepeater/$',
     AddDhis2EntityRepeaterView.as_view(),
     {'repeater_type': 'Dhis2EntityRepeater'},
     name=AddDhis2EntityRepeaterView.urlname),
 url(r'^forwarding/new/SearchByParamsRepeater/$',
     AddCaseRepeaterView.as_view(),
     {'repeater_type': 'SearchByParamsRepeater'},
     name=AddCaseRepeaterView.urlname),
 url(r'^forwarding/new/ReferCaseRepeater/$',
     AddCaseRepeaterView.as_view(), {'repeater_type': 'ReferCaseRepeater'},
     name=AddCaseRepeaterView.urlname),
 url(r'^forwarding/new/(?P<repeater_type>\w+)/$',
     AddRepeaterView.as_view(),
     name=AddRepeaterView.urlname),
 url(r'^forwarding/edit/CaseRepeater/(?P<repeater_id>\w+)/$',
     EditCaseRepeaterView.as_view(), {'repeater_type': 'CaseRepeater'},
     name=EditCaseRepeaterView.urlname),
 url(r'^forwarding/edit/FormRepeater/(?P<repeater_id>\w+)/$',
     EditFormRepeaterView.as_view(), {'repeater_type': 'FormRepeater'},
     name=EditFormRepeaterView.urlname),
 url(r'^forwarding/edit/ReferCaseRepeater/(?P<repeater_id>\w+)/$',
     EditCaseRepeaterView.as_view(), {'repeater_type': 'ReferCaseRepeater'},
     name=EditCaseRepeaterView.urlname),
 url(r'^forwarding/edit/OpenmrsRepeater/(?P<repeater_id>\w+)/$',
     EditOpenmrsRepeaterView.as_view(),
     {'repeater_type': 'OpenmrsRepeater'},
     name=EditOpenmrsRepeaterView.urlname),
 url(r'^forwarding/edit/Dhis2Repeater/(?P<repeater_id>\w+)/$',
예제 #2
0
        {'repeater_type': 'LabBETSVoucherRepeater'},
        name=LabBETSVoucherRepeaterView.urlname),
    url(r'^new_bets_180_treatment_repeater$',
        BETS180TreatmentRepeaterView.as_view(),
        {'repeater_type': 'BETS180TreatmentRepeater'},
        name=BETS180TreatmentRepeaterView.urlname),
    url(r'^new_bets_drg_refill_repeater$',
        BETSDrugRefillRepeaterView.as_view(),
        {'repeater_type': 'BETSDrugRefillRepeater'},
        name=BETSDrugRefillRepeaterView.urlname),
    url(r'^new_bets_successful_treatment_repeater$',
        BETSSuccessfulTreatmentRepeaterView.as_view(),
        {'repeater_type': 'BETSSuccessfulTreatmentRepeater'},
        name=BETSSuccessfulTreatmentRepeaterView.urlname),
    url(r'^new_bets_diagnosis_and_notification_repeater$',
        BETSDiagnosisAndNotificationRepeaterView.as_view(),
        {'repeater_type': 'BETSDiagnosisAndNotificationRepeater'},
        name=BETSDiagnosisAndNotificationRepeaterView.urlname),
    url(r'^new_bets_ayush_referral_repeater$',
        BETSAYUSHReferralRepeaterView.as_view(),
        {'repeater_type': 'BETSAYUSHReferralRepeater'},
        name=BETSAYUSHReferralRepeaterView.urlname),
    url(r'^user_repeater$',
        AddRepeaterView.as_view(), {'repeater_type': 'BETSUserRepeater'},
        name='bets_user_repeater'),
    url(r'^location_repeater$',
        AddRepeaterView.as_view(), {'repeater_type': 'BETSLocationRepeater'},
        name='bets_location_repeater'),
    url(r'^', include(hq_api.urls)),
]
예제 #3
0
        name=ConfirmSubscriptionRenewalView.urlname),
    url(r'^internal_subscription_management/$', InternalSubscriptionManagementView.as_view(),
        name=InternalSubscriptionManagementView.urlname),
    url(r'^billing_information/$', EditExistingBillingAccountView.as_view(),
        name=EditExistingBillingAccountView.urlname),
    url(r'^repeat_record/', RepeatRecordView.as_view(), name=RepeatRecordView.urlname),
    url(r'^repeat_record_report/cancel/', cancel_repeat_record, name='cancel_repeat_record'),
    url(r'^repeat_record_report/requeue/', requeue_repeat_record, name='requeue_repeat_record'),
    url(r'^repeat_record_report/generate_repeater_payloads/', generate_repeater_payloads,
        name='generate_repeater_payloads'),
    url(r'^forwarding/$', DomainForwardingOptionsView.as_view(), name=DomainForwardingOptionsView.urlname),
    url(r'^forwarding/new/FormRepeater/$', AddFormRepeaterView.as_view(), {'repeater_type': 'FormRepeater'},
        name=AddFormRepeaterView.urlname),
    url(r'^forwarding/new/CaseRepeater/$', AddCaseRepeaterView.as_view(), {'repeater_type': 'CaseRepeater'},
        name=AddCaseRepeaterView.urlname),
    url(r'^forwarding/new/(?P<repeater_type>\w+)/$', AddRepeaterView.as_view(), name=AddRepeaterView.urlname),
    url(r'^forwarding/test/$', test_repeater, name='test_repeater'),

    url(r'^forwarding/CaseRepeater/edit/(?P<repeater_id>\w+)/$', EditCaseRepeaterView.as_view(),
        {'repeater_type': 'CaseRepeater'}, name=EditCaseRepeaterView.urlname),
    url(r'^forwarding/FormRepeater/edit/(?P<repeater_id>\w+)/$', EditFormRepeaterView.as_view(),
        {'repeater_type': 'FormRepeater'}, name=EditFormRepeaterView.urlname),
    url(r'^forwarding/OpenmrsRepeater/edit/(?P<repeater_id>\w+)/$', EditOpenmrsRepeaterView.as_view(),
        {'repeater_type': 'OpenmrsRepeater'}, name=EditOpenmrsRepeaterView.urlname),
    url(r'^forwarding/Dhis2Repeater/edit/(?P<repeater_id>\w+)/$', EditDhis2RepeaterView.as_view(),
        {'repeater_type': 'Dhis2Repeater'}, name=EditDhis2RepeaterView.urlname),
    url(r'^forwarding/(?P<repeater_type>\w+)/edit/(?P<repeater_id>\w+)/$', EditRepeaterView.as_view(),
        name=EditRepeaterView.urlname),

    url(r'^forwarding/(?P<repeater_id>[\w-]+)/stop/$', drop_repeater, name='drop_repeater'),
    url(r'^forwarding/(?P<repeater_id>[\w-]+)/pause/$', pause_repeater, name='pause_repeater'),
예제 #4
0
파일: urls.py 프로젝트: dimagi/commcare-hq
    url(r'^internal_subscription_management/$', InternalSubscriptionManagementView.as_view(),
        name=InternalSubscriptionManagementView.urlname),
    url(r'^billing_information/$', EditExistingBillingAccountView.as_view(),
        name=EditExistingBillingAccountView.urlname),
    url(r'^repeat_record/', RepeatRecordView.as_view(), name=RepeatRecordView.urlname),
    url(r'^repeat_record_report/cancel/', cancel_repeat_record, name='cancel_repeat_record'),
    url(r'^repeat_record_report/requeue/', requeue_repeat_record, name='requeue_repeat_record'),
    url(r'^repeat_record_report/generate_repeater_payloads/', generate_repeater_payloads,
        name='generate_repeater_payloads'),
    url(r'^integration/', include('corehq.apps.integration.urls')),
    url(r'^forwarding/$', DomainForwardingOptionsView.as_view(), name=DomainForwardingOptionsView.urlname),
    url(r'^forwarding/new/FormRepeater/$', AddFormRepeaterView.as_view(), {'repeater_type': 'FormRepeater'},
        name=AddFormRepeaterView.urlname),
    url(r'^forwarding/new/CaseRepeater/$', AddCaseRepeaterView.as_view(), {'repeater_type': 'CaseRepeater'},
        name=AddCaseRepeaterView.urlname),
    url(r'^forwarding/new/(?P<repeater_type>\w+)/$', AddRepeaterView.as_view(), name=AddRepeaterView.urlname),
    url(r'^forwarding/test/$', test_repeater, name='test_repeater'),

    url(r'^forwarding/CaseRepeater/edit/(?P<repeater_id>\w+)/$', EditCaseRepeaterView.as_view(),
        {'repeater_type': 'CaseRepeater'}, name=EditCaseRepeaterView.urlname),
    url(r'^forwarding/FormRepeater/edit/(?P<repeater_id>\w+)/$', EditFormRepeaterView.as_view(),
        {'repeater_type': 'FormRepeater'}, name=EditFormRepeaterView.urlname),
    url(r'^forwarding/OpenmrsRepeater/edit/(?P<repeater_id>\w+)/$', EditOpenmrsRepeaterView.as_view(),
        {'repeater_type': 'OpenmrsRepeater'}, name=EditOpenmrsRepeaterView.urlname),
    url(r'^forwarding/Dhis2Repeater/edit/(?P<repeater_id>\w+)/$', EditDhis2RepeaterView.as_view(),
        {'repeater_type': 'Dhis2Repeater'}, name=EditDhis2RepeaterView.urlname),
    url(r'^forwarding/(?P<repeater_type>\w+)/edit/(?P<repeater_id>\w+)/$', EditRepeaterView.as_view(),
        name=EditRepeaterView.urlname),

    url(r'^forwarding/(?P<repeater_id>[\w-]+)/stop/$', drop_repeater, name='drop_repeater'),
    url(r'^forwarding/(?P<repeater_id>[\w-]+)/pause/$', pause_repeater, name='pause_repeater'),