Example #1
0
        name=PasswordResetView.urlname),
    url(r'^accounts/password_reset_confirm/done/$',
        password_reset_complete, {
            'template_name': 'login_and_password/password_reset_complete.html',
            'extra_context': {
                'current_page': {
                    'page_name': _('Password Reset Complete')
                }
            }
        },
        name='password_reset_complete')
]

domain_settings = [
    url(r'^$',
        DefaultProjectSettingsView.as_view(),
        name=DefaultProjectSettingsView.urlname),
    url(r'^my_settings/$',
        EditMyProjectSettingsView.as_view(),
        name=EditMyProjectSettingsView.urlname),
    url(r'^basic/$',
        EditBasicProjectInfoView.as_view(),
        name=EditBasicProjectInfoView.urlname),
    url(r'^call_center_owner_options/',
        CallCenterOwnerOptionsView.as_view(),
        name=CallCenterOwnerOptionsView.url_name),
    url(r'^privacy/$',
        EditPrivacySecurityView.as_view(),
        name=EditPrivacySecurityView.urlname),
    url(r'^openclinica/$',
        EditOpenClinicaSettingsView.as_view(),
Example #2
0
        name='password_reset_done'),

    url(r'^accounts/password_reset_confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>.+)/$',
        PasswordResetView.as_view(),
        {'template_name': 'login_and_password/password_reset_confirm.html', 'set_password_form': HQSetPasswordForm,
         'extra_context': {'current_page': {'page_name': _('Password Reset Confirmation')}}},
        name=PasswordResetView.urlname),
    url(r'^accounts/password_reset_confirm/done/$', password_reset_complete,
        {'template_name': 'login_and_password/password_reset_complete.html',
         'extra_context': {'current_page': {'page_name': _('Password Reset Complete')}}},
        name='password_reset_complete')
]


domain_settings = [
    url(r'^$', DefaultProjectSettingsView.as_view(), name=DefaultProjectSettingsView.urlname),
    url(r'^my_settings/$', EditMyProjectSettingsView.as_view(), name=EditMyProjectSettingsView.urlname),
    url(r'^basic/$', EditBasicProjectInfoView.as_view(), name=EditBasicProjectInfoView.urlname),
    url(r'^call_center_owner_options/', CallCenterOwnerOptionsView.as_view(),
        name=CallCenterOwnerOptionsView.url_name),
    url(r'^privacy/$', EditPrivacySecurityView.as_view(), name=EditPrivacySecurityView.urlname),
    url(r'^openclinica/$', EditOpenClinicaSettingsView.as_view(), name=EditOpenClinicaSettingsView.urlname),
    url(r'^subscription/change/$', SelectPlanView.as_view(), name=SelectPlanView.urlname),
    url(r'^subscription/change/confirm/$', ConfirmSelectedPlanView.as_view(),
        name=ConfirmSelectedPlanView.urlname),
    url(r'^subscription/change/request/$', SelectedEnterprisePlanView.as_view(),
        name=SelectedEnterprisePlanView.urlname),
    url(r'^subscription/change/account/$', ConfirmBillingAccountInfoView.as_view(),
        name=ConfirmBillingAccountInfoView.urlname),
    url(r'^subscription/pro_bono/$', ProBonoView.as_view(), name=ProBonoView.urlname),
    url(r'^subscription/credits/make_payment/$', CreditsStripePaymentView.as_view(),
Example #3
0
        url(r'^accounts/password_change_done/$', 'password_change_done', auth_pages_path('password_change_done.html') ),

        url(r'^accounts/password_reset_email/$', exception_safe_password_reset, extend(auth_pages_path('password_reset_form.html'),
                                                                                       { 'password_reset_form': ConfidentialPasswordResetForm,
                                                                                         'from_email':settings.DEFAULT_FROM_EMAIL}),
                                                                                name='password_reset_email'),
        url(r'^accounts/password_reset_email/done/$', 'password_reset_done', auth_pages_path('password_reset_done.html') ),

        url(r'^accounts/password_reset_confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'password_reset_confirm', auth_pages_path('password_reset_confirm.html'), name="confirm_password_reset" ),
        url(r'^accounts/password_reset_confirm/done/$', 'password_reset_complete', auth_pages_path('password_reset_complete.html') ) 
    )


domain_settings = patterns(
    'corehq.apps.domain.views',
    url(r'^$', DefaultProjectSettingsView.as_view(), name=DefaultProjectSettingsView.urlname),
    url(r'^my_settings/$', EditMyProjectSettingsView.as_view(), name=EditMyProjectSettingsView.urlname),
    url(r'^basic/$', EditBasicProjectInfoView.as_view(), name=EditBasicProjectInfoView.urlname),
    url(r'^subscription/change/$', SelectPlanView.as_view(), name=SelectPlanView.urlname),
    url(r'^subscription/change/confirm/$', ConfirmSelectedPlanView.as_view(),
        name=ConfirmSelectedPlanView.urlname),
    url(r'^subscription/change/request/$', SelectedEnterprisePlanView.as_view(),
        name=SelectedEnterprisePlanView.urlname),
    url(r'^subscription/change/account/$', ConfirmBillingAccountInfoView.as_view(),
        name=ConfirmBillingAccountInfoView.urlname),
    url(r'^subscription/pro_bono/$', ProBonoView.as_view(), name=ProBonoView.urlname),
    url(r'^subscription/credits/make_payment/$', CreditsStripePaymentView.as_view(),
        name=CreditsStripePaymentView.urlname),
    url(r'^billing/statements/download/(?P<statement_id>[\w-]+).pdf$',
        BillingStatementPdfView.as_view(),
        name=BillingStatementPdfView.urlname