Esempio n. 1
0
    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'),
    url(r'^forwarding/(?P<repeater_id>[\w-]+)/resume/$', resume_repeater, name='resume_repeater'),
    url(r'^snapshots/set_published/(?P<snapshot_name>[\w-]+)/$', set_published_snapshot, name='domain_set_published'),
    url(r'^snapshots/set_published/$', set_published_snapshot, name='domain_clear_published'),
    url(r'^snapshots/$', ExchangeSnapshotsView.as_view(), name=ExchangeSnapshotsView.urlname),
    url(r'^transfer/$', TransferDomainView.as_view(), name=TransferDomainView.urlname),
    url(r'^snapshots/new/$', CreateNewExchangeSnapshotView.as_view(), name=CreateNewExchangeSnapshotView.urlname),
    url(r'^multimedia/$', ManageProjectMediaView.as_view(), name=ManageProjectMediaView.urlname),
Esempio n. 2
0
     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+)/$',
     EditDhis2RepeaterView.as_view(), {'repeater_type': 'Dhis2Repeater'},
     name=EditDhis2RepeaterView.urlname),
 url(r'^forwarding/edit/Dhis2EntityRepeater/(?P<repeater_id>\w+)/$',
     EditDhis2EntityRepeaterView.as_view(),
     {'repeater_type': 'Dhis2EntityRepeater'},
     name=EditDhis2EntityRepeaterView.urlname),
 url(r'^forwarding/edit/(?P<repeater_type>\w+)/(?P<repeater_id>\w+)/$',
     EditRepeaterView.as_view(),
     name=EditRepeaterView.urlname),
 url(r'^forwarding/config/OpenmrsRepeater/(?P<repeater_id>\w+)/$',
     config_openmrs_repeater,
     name='config_openmrs_repeater'),
Esempio n. 3
0
    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'),
    url(r'^forwarding/(?P<repeater_id>[\w-]+)/resume/$', resume_repeater, name='resume_repeater'),
    url(r'^snapshots/set_published/(?P<snapshot_name>[\w-]+)/$', set_published_snapshot, name='domain_set_published'),
    url(r'^snapshots/set_published/$', set_published_snapshot, name='domain_clear_published'),
    url(r'^snapshots/$', ExchangeSnapshotsView.as_view(), name=ExchangeSnapshotsView.urlname),
    url(r'^transfer/$', TransferDomainView.as_view(), name=TransferDomainView.urlname),
    url(r'^snapshots/new/$', CreateNewExchangeSnapshotView.as_view(), name=CreateNewExchangeSnapshotView.urlname),
    url(r'^multimedia/$', ManageProjectMediaView.as_view(), name=ManageProjectMediaView.urlname),