예제 #1
0
파일: urls.py 프로젝트: dimagi/commcare-hq
    resume_building_data_source,
    build_data_source_in_place,
    export_data_source,
    data_source_status,
    choice_list_api,
    ExpressionDebuggerView,
    evaluate_expression,
    update_report_description,
    undelete_data_source, undelete_report, DataSourceDebuggerView, evaluate_data_source)

urlpatterns = [
    url(r'^$', UserConfigReportsHomeView.as_view(),
        name=UserConfigReportsHomeView.urlname),
    url(r'^reports/create/$', CreateConfigReportView.as_view(),
        name=CreateConfigReportView.urlname),
    url(r'^reports/import/$', ImportConfigReportView.as_view(),
        name=ImportConfigReportView.urlname),
    url(r'^reports/edit/(?P<report_id>[\w-]+)/$', EditConfigReportView.as_view(),
        name=EditConfigReportView.urlname),
    url(r'^reports/source/(?P<report_id>[\w-]+)/$', report_source_json, name='configurable_report_json'),
    url(r'^reports/delete/(?P<report_id>[\w-]+)/$', delete_report, name='delete_configurable_report'),
    url(r'^reports/undelete/(?P<report_id>[\w-]+)/$', undelete_report, name='undo_delete_configurable_report'),
    url(r'^data_sources/create/$', CreateDataSourceView.as_view(),
        name=CreateDataSourceView.urlname),
    url(r'^data_sources/create_from_app/$', CreateDataSourceFromAppView.as_view(),
        name=CreateDataSourceFromAppView.urlname),
    url(r'^data_sources/edit/(?P<config_id>[\w-]+)/$', EditDataSourceView.as_view(),
        name=EditDataSourceView.urlname),
    url(r'^data_sources/source/(?P<config_id>[\w-]+)/$', data_source_json, name='configurable_data_source_json'),
    url(r'^data_sources/delete/(?P<config_id>[\w-]+)/$', delete_data_source,
        name='delete_configurable_data_source'),
예제 #2
0
    report_source_json, delete_report, data_source_json, delete_data_source,
    rebuild_data_source, resume_building_data_source,
    build_data_source_in_place, export_data_source, data_source_status,
    choice_list_api, ExpressionDebuggerView, evaluate_expression,
    undelete_data_source, undelete_report, DataSourceDebuggerView,
    evaluate_data_source)

urlpatterns = [
    url(r'^$',
        UserConfigReportsHomeView.as_view(),
        name=UserConfigReportsHomeView.urlname),
    url(r'^reports/create/$',
        CreateConfigReportView.as_view(),
        name=CreateConfigReportView.urlname),
    url(r'^reports/import/$',
        ImportConfigReportView.as_view(),
        name=ImportConfigReportView.urlname),
    url(r'^reports/edit/(?P<report_id>[\w-]+)/$',
        EditConfigReportView.as_view(),
        name=EditConfigReportView.urlname),
    url(r'^reports/source/(?P<report_id>[\w-]+)/$',
        report_source_json,
        name='configurable_report_json'),
    url(r'^reports/delete/(?P<report_id>[\w-]+)/$',
        delete_report,
        name='delete_configurable_report'),
    url(r'^reports/undelete/(?P<report_id>[\w-]+)/$',
        undelete_report,
        name='undo_delete_configurable_report'),
    url(r'^data_sources/create/$',
        CreateDataSourceView.as_view(),
예제 #3
0
파일: urls.py 프로젝트: soitun/commcare-hq
    evaluate_expression,
    export_data_source,
    rebuild_data_source,
    report_source_json,
    resume_building_data_source,
    undelete_data_source,
    undelete_report,
    update_report_description,
)

urlpatterns = [
    url(r'^$', UserConfigReportsHomeView.as_view(),
        name=UserConfigReportsHomeView.urlname),
    url(r'^reports/create/$', CreateConfigReportView.as_view(),
        name=CreateConfigReportView.urlname),
    url(r'^reports/import/$', ImportConfigReportView.as_view(),
        name=ImportConfigReportView.urlname),
    url(r'^reports/edit/(?P<report_id>[\w-]+)/$', EditConfigReportView.as_view(),
        name=EditConfigReportView.urlname),
    url(r'^reports/source/(?P<report_id>[\w-]+)/$', report_source_json, name='configurable_report_json'),
    url(r'^reports/delete/(?P<report_id>[\w-]+)/$', delete_report, name='delete_configurable_report'),
    url(r'^reports/undelete/(?P<report_id>[\w-]+)/$', undelete_report, name='undo_delete_configurable_report'),
    url(r'^data_sources/create/$', CreateDataSourceView.as_view(),
        name=CreateDataSourceView.urlname),
    url(r'^data_sources/create_from_app/$', CreateDataSourceFromAppView.as_view(),
        name=CreateDataSourceFromAppView.urlname),
    url(r'^data_sources/edit/(?P<config_id>[\w-]+)/$', EditDataSourceView.as_view(),
        name=EditDataSourceView.urlname),
    url(r'^data_sources/source/(?P<config_id>[\w-]+)/$', data_source_json, name='configurable_data_source_json'),
    url(r'^data_sources/delete/(?P<config_id>[\w-]+)/$', delete_data_source,
        name='delete_configurable_data_source'),