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)), ] if settings.DEBUG: try: import debug_toolbar urlpatterns += [ url(r'^__debug__/', include(debug_toolbar.urls)), ]
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)), ] if settings.DEBUG: try: from debug_toolbar import urls as debug_toolbar_urls urlpatterns += [ url(r'^__debug__/', include(debug_toolbar_urls)),
url(r'^eula/$', 'corehq.apps.hqwebapp.views.eula', name='eula'), url(r'^apache_license_basic/$', TemplateView.as_view(template_name='apache_license.html'), name='apache_license_basic'), url(r'^apache_license/$', 'corehq.apps.hqwebapp.views.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/$', 'corehq.apps.hqwebapp.views.bsd_license', name='bsd_license'), url(r'^product_agreement/$', 'corehq.apps.hqwebapp.views.product_agreement', name='product_agreement'), url(r'^exchange/cda_basic/$', TemplateView.as_view(template_name='cda.html'), name='cda_basic'), url(r'^exchange/cda/$', 'corehq.apps.hqwebapp.views.cda', name='cda'), url(r'^sms_in/$', 'corehq.apps.sms.views.sms_in', name='sms_in'), url(r'^unsubscribe/(?P<user_id>[\w-]+)/', 'corehq.apps.hqwebapp.views.unsubscribe', name='unsubscribe'), (r'^wisepill/', include('custom.apps.wisepill.urls')), url(r'^pro_bono/$', ProBonoStaticView.as_view(), name=ProBonoStaticView.urlname), url(r'^loadtest/', include('corehq.apps.loadtestendpoints.urls')), url(r'^ping/$', 'corehq.apps.app_manager.views.formdesigner.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), 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), ) + patterns('', *LOCAL_APP_URLS) if settings.ENABLE_PRELOGIN_SITE: urlpatterns += patterns('', *PRELOGIN_APP_URLS) if settings.DEBUG: urlpatterns += patterns('', url(r'^mocha/', include('corehq.apps.mocha.urls')), )