AdminRestoreView, AuthenticateAs, CallcenterUCRCheck, DimagisphereView, DownloadGIRView, DownloadMALTView, FlagBrokenBuilds, RecentCouchChangesView, ReprocessMessagingCaseUpdatesView, SuperuserManagement, SystemInfoView, WebUserDataView, admin_reports_stats_data, branches_on_staging, callcenter_test, check_services, default, doc_in_es, download_recent_changes, raw_couch, raw_doc, run_command, stats_data, system_ajax, pillow_operation_api, web_user_lookup, top_five_projects_by_country) from corehq.apps.reports.dispatcher import AdminReportDispatcher from corehq.apps.api.urls import admin_urlpatterns as admin_api_urlpatterns urlpatterns = [ url(r'^$', default, name="default_admin_report"), url(r'^system/$', SystemInfoView.as_view(), name=SystemInfoView.urlname), url(r'^system/recent_changes/$', RecentCouchChangesView.as_view(), name=RecentCouchChangesView.urlname), url(r'^system/recent_changes/download/$', download_recent_changes, name="download_recent_changes"), url(r'^system/system_ajax$', system_ajax, name="system_ajax"), url(r'^system/check_services$', check_services, name="check_services"), url(r'^system/autostaging/$', branches_on_staging, name="branches_on_staging"), url(r'^auth_as/$', AuthenticateAs.as_view(), name=AuthenticateAs.urlname), url(r'^auth_as/(?P<username>[^/]*)/$', AuthenticateAs.as_view(), name=AuthenticateAs.urlname),
raw_couch, raw_doc, run_command, stats_data, system_ajax, pillow_operation_api, web_user_lookup, top_five_projects_by_country, ) from corehq.apps.reports.dispatcher import AdminReportDispatcher from corehq.apps.api.urls import admin_urlpatterns as admin_api_urlpatterns urlpatterns = [ url(r'^$', default, name="default_admin_report"), url(r'^system/$', SystemInfoView.as_view(), name=SystemInfoView.urlname), url(r'^system/recent_changes/$', RecentCouchChangesView.as_view(), name=RecentCouchChangesView.urlname), url(r'^system/recent_changes/download/$', download_recent_changes, name="download_recent_changes"), url(r'^system/system_ajax$', system_ajax, name="system_ajax"), url(r'^system/check_services$', check_services, name="check_services"), url(r'^system/autostaging/$', branches_on_staging, name="branches_on_staging"), url(r'^auth_as/$', AuthenticateAs.as_view(), name=AuthenticateAs.urlname), url(r'^auth_as/(?P<username>[^/]*)/$', AuthenticateAs.as_view(), name=AuthenticateAs.urlname), url(r'^auth_as/(?P<username>[^/]*)/(?P<domain>{})/$'.format(new_domain_re), AuthenticateAs.as_view(), name=AuthenticateAs.urlname), url(r'^management_commands/$', ManagementCommandsView.as_view(), name=ManagementCommandsView.urlname), url(r'^superuser_management/$', SuperuserManagement.as_view(), name=SuperuserManagement.urlname), url(r'^run_command/$', run_command, name="run_management_command"), url(r'^phone/restore/$', AdminRestoreView.as_view(), name="admin_restore"),