Beispiel #1
0
    url(r'^sislog/', include('corehq.messaging.smsbackends.sislog.urls')),
    url(r'^langcodes/', include('langcodes.urls')),
    url(r'^builds/', include('corehq.apps.builds.urls')),
    url(r'^downloads/temp/', include('soil.urls')),
    url(r'^styleguide/', include('corehq.apps.styleguide.urls')),
    url(r'^500/$', TemplateView.as_view(template_name='500.html')),
    url(r'^404/$', TemplateView.as_view(template_name='404.html')),
    url(r'^403/$', TemplateView.as_view(template_name='403.html')),
    url(r'^captcha/', include('captcha.urls')),
    url(r'^eula/$', redirect_to_dimagi('terms/')),
    url(r'^product_agreement/$', redirect_to_dimagi('terms/')),
    url(r'^apache_license_basic/$', TemplateView.as_view(template_name='apache_license.html'), name='apache_license_basic'),
    url(r'^apache_license/$', apache_license, name='apache_license'),
    url(r'^bsd_license_basic/$', TemplateView.as_view(template_name='bsd_license.html'), name='bsd_license_basic'),
    url(r'^bsd_license/$', bsd_license, name='bsd_license'),
    url(r'^pro_bono/$', ProBonoStaticView.as_view(), name=ProBonoStaticView.urlname),
    url(r'^ping/$', ping, name='ping'),
    url(r'^robots.txt$', TemplateView.as_view(template_name='robots.txt', content_type='text/plain')),
    url(r'^software-plans/$', RedirectView.as_view(url=PRICING_LINK, permanent=True), name='go_to_pricing'),
    url(r'^unsubscribe_report/(?P<scheduled_report_id>[\w-]+)/'
        r'(?P<user_email>[\w.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,})/(?P<scheduled_report_secret>[\w-]+)/',
        ReportNotificationUnsubscribeView.as_view(), name=ReportNotificationUnsubscribeView.urlname),
    url(r'^phone/list_apps', list_apps, name="list_accessible_apps")
] + LOCAL_APP_URLS

if settings.ENABLE_PRELOGIN_SITE:
    # handle redirects from old prelogin
    urlpatterns += [
        url(r'', include(legacy_prelogin)),
    ]
Beispiel #2
0
 url(r'^404/$', TemplateView.as_view(template_name='404.html')),
 url(r'^403/$', TemplateView.as_view(template_name='403.html')),
 url(r'^captcha/', include('captcha.urls')),
 url(r'^eula/$', redirect_to_dimagi('terms/')),
 url(r'^product_agreement/$', redirect_to_dimagi('terms/')),
 url(r'^apache_license_basic/$',
     TemplateView.as_view(template_name='apache_license.html'),
     name='apache_license_basic'),
 url(r'^apache_license/$', apache_license, name='apache_license'),
 url(r'^bsd_license_basic/$',
     TemplateView.as_view(template_name='bsd_license.html'),
     name='bsd_license_basic'),
 url(r'^bsd_license/$', bsd_license, name='bsd_license'),
 url(r'^covid19/$', covid19, name='covid19'),
 url(r'^pro_bono/$',
     ProBonoStaticView.as_view(),
     name=ProBonoStaticView.urlname),
 url(r'^ping/$', ping, name='ping'),
 url(
     r'^robots.txt$',
     TemplateView.as_view(template_name='robots.txt',
                          content_type='text/plain')),
 url(r'^software-plans/$',
     RedirectView.as_view(url=PRICING_LINK, permanent=True),
     name='go_to_pricing'),
 url(
     r'^unsubscribe_report/(?P<scheduled_report_id>[\w-]+)/'
     r'(?P<user_email>[\w.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,})/(?P<scheduled_report_secret>[\w-]+)/',
     ReportNotificationUnsubscribeView.as_view(),
     name=ReportNotificationUnsubscribeView.urlname),
 url(r'^phone/list_apps', list_apps, name="list_accessible_apps"),
Beispiel #3
0
    url(r'^downloads/temp/', include('soil.urls')),
    url(r'^styleguide/', include('corehq.apps.styleguide.urls')),
    url(r'^500/$', TemplateView.as_view(template_name='500.html')),
    url(r'^404/$', TemplateView.as_view(template_name='404.html')),
    url(r'^403/$', TemplateView.as_view(template_name='403.html')),
    url(r'^captcha/', include('captcha.urls')),
    url(r'^eula/$', redirect_to_dimagi('terms/')),
    url(r'^product_agreement/$', redirect_to_dimagi('terms/')),
    url(r'^apache_license_basic/$', TemplateView.as_view(template_name='apache_license.html'), name='apache_license_basic'),
    url(r'^apache_license/$', apache_license, name='apache_license'),
    url(r'^bsd_license_basic/$', TemplateView.as_view(template_name='bsd_license.html'), name='bsd_license_basic'),
    url(r'^bsd_license/$', bsd_license, name='bsd_license'),
    url(r'^exchange/cda_basic/$', TemplateView.as_view(template_name='cda.html'), name='cda_basic'),
    url(r'^exchange/cda/$', cda, name='cda'),
    url(r'^wisepill/', include('custom.apps.wisepill.urls')),
    url(r'^pro_bono/$', ProBonoStaticView.as_view(), name=ProBonoStaticView.urlname),
    url(r'^ping/$', ping, name='ping'),
    url(r'^robots.txt$', TemplateView.as_view(template_name='robots.txt', content_type='text/plain')),
    url(r'^software-plans/$', RedirectView.as_view(url=PRICING_LINK, permanent=True), name='go_to_pricing'),
    url(r'^unsubscribe_report/(?P<scheduled_report_id>[\w-]+)/'
        r'(?P<user_email>[\w.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4})/(?P<scheduled_report_secret>[\w-]+)/',
        ReportNotificationUnsubscribeView.as_view(), name=ReportNotificationUnsubscribeView.urlname),
    url(r'^phone/list_apps', list_apps, name="list_accessible_apps")
] + LOCAL_APP_URLS

if settings.ENABLE_PRELOGIN_SITE:
    # handle redirects from old prelogin
    urlpatterns += [
        url(r'', include(legacy_prelogin)),
    ]