url(r'^billing/cards/(?P<card_token>card_[\w]+)/$', CardView.as_view(), name=CardView.url_name), 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'^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),
urlpatterns = [ url(r'^conn/$', ConnectionSettingsListView.as_view(), name=ConnectionSettingsListView.urlname), url(r'^conn/(?P<pk>\d+)/$', 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(),
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'^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),