예제 #1
0
파일: urls.py 프로젝트: mxdxlx/commcare-hq
     ConnectionSettingsDetailView.as_view(),
     name=ConnectionSettingsDetailView.urlname),
 url(r'^conn/add/$',
     ConnectionSettingsDetailView.as_view(),
     name=ConnectionSettingsDetailView.urlname),
 url(r'^conn/test/$',
     test_connection_settings,
     name='test_connection_settings'),
 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/OpenmrsRepeater/$',
     AddOpenmrsRepeaterView.as_view(), {'repeater_type': 'OpenmrsRepeater'},
     name=AddOpenmrsRepeaterView.urlname),
 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),
예제 #2
0
파일: urls.py 프로젝트: tstalka/commcare-hq
    EditDhis2RepeaterView,
    EditFormRepeaterView,
    EditOpenmrsRepeaterView,
    EditRepeaterView,
    drop_repeater,
    pause_repeater,
    resume_repeater,
    test_repeater,
)
from corehq.motech.views import MotechLogDetailView, MotechLogListView

urlpatterns = [
    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/OpenmrsRepeater/$', AddOpenmrsRepeaterView.as_view(),
        {'repeater_type': 'OpenmrsRepeater'}, name=AddOpenmrsRepeaterView.urlname),
    url(r'^forwarding/new/Dhis2Repeater/$', AddDhis2RepeaterView.as_view(),
        {'repeater_type': 'Dhis2Repeater'}, name=AddDhis2RepeaterView.urlname),
    url(r'^forwarding/new/SearchByParamsRepeater/$', AddCaseRepeaterView.as_view(),
        {'repeater_type': 'SearchByParamsRepeater'}, 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/OpenmrsRepeater/(?P<repeater_id>\w+)/$', EditOpenmrsRepeaterView.as_view(),
        {'repeater_type': 'OpenmrsRepeater'}, name=EditOpenmrsRepeaterView.urlname),
예제 #3
0
 url(r'^subscription/$', DomainSubscriptionView.as_view(), name=DomainSubscriptionView.urlname),
 url(r'^subscription/renew/$', SubscriptionRenewalView.as_view(),
     name=SubscriptionRenewalView.urlname),
 url(r'^subscription/renew/confirm/$', ConfirmSubscriptionRenewalView.as_view(),
     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'^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/(?P<repeater_id>[\w-]+)/stop/$', drop_repeater, name='drop_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),
 url(r'^case_search/$', CaseSearchConfigView.as_view(), name=CaseSearchConfigView.urlname),
 url(r'^calendar_settings/$', CalendarFixtureConfigView.as_view(), name=CalendarFixtureConfigView.urlname),
 url(r'^location_settings/$', LocationFixtureConfigView.as_view(), name=LocationFixtureConfigView.urlname),
 url(r'^commtrack/settings/$', RedirectView.as_view(url='commtrack_settings', permanent=True)),
 url(r'^internal/info/$', EditInternalDomainInfoView.as_view(), name=EditInternalDomainInfoView.urlname),
예제 #4
0
파일: urls.py 프로젝트: dimagi/commcare-hq
    url(r'^subscription/renew/confirm/$', ConfirmSubscriptionRenewalView.as_view(),
        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'^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),