コード例 #1
0
ファイル: urls.py プロジェクト: taylordowns2000/commcare-hq
    url(r"^custom/dashboard_feed/$",
        DashboardFeedListView.as_view(),
        name=DashboardFeedListView.urlname),
    url(r"^custom/download_data_files/$",
        DataFileDownloadList.as_view(),
        name=DataFileDownloadList.urlname),
    url(r"^custom/download_data_files/(?P<pk>\d+)/(?P<filename>.*)$",
        DataFileDownloadDetail.as_view(),
        name=DataFileDownloadDetail.urlname),

    # New export configuration views
    url(r"^custom/form/create$",
        CreateCustomFormExportView.as_view(),
        name=CreateCustomFormExportView.urlname),
    url(r"^custom/case/create$",
        CreateCustomCaseExportView.as_view(),
        name=CreateCustomCaseExportView.urlname),
    url(r"^custom/new/form/create$",
        CreateNewCustomFormExportView.as_view(),
        name=CreateNewCustomFormExportView.urlname),
    url(r"^custom/new/form_feed/create$",
        CreateNewFormFeedView.as_view(),
        name=CreateNewFormFeedView.urlname),
    url(r"^custom/new/form_daily_saved/create$",
        CreateNewDailySavedFormExport.as_view(),
        name=CreateNewDailySavedFormExport.urlname),
    url(r"^custom/new/case/create$",
        CreateNewCustomCaseExportView.as_view(),
        name=CreateNewCustomCaseExportView.urlname),
    url(r"^custom/new/case_feed/create$",
        CreateNewCaseFeedView.as_view(),
コード例 #2
0
from django.conf.urls import *
from corehq.apps.export.views import (
    CreateFormExportView,
    CreateCaseExportView,
    CreateCustomFormExportView,
    CreateCustomCaseExportView,
    EditCustomFormExportView,
    EditCustomCaseExportView,
    DeleteCustomExportView,
)

urlpatterns = patterns(
    'corehq.apps.export.views',
    url(r"^create/form/$", CreateFormExportView.as_view(), name=CreateFormExportView.urlname),
    url(r"^create/case/$", CreateCaseExportView.as_view(), name=CreateCaseExportView.urlname),
    url(r"^customize/form/$", CreateCustomFormExportView.as_view(), name=CreateCustomFormExportView.urlname),
    url(r"^customize/case/$", CreateCustomCaseExportView.as_view(), name=CreateCustomCaseExportView.urlname),
    url(r"^custom/form/(?P<export_id>[\w\-]+)/edit/$", EditCustomFormExportView.as_view(),
        name=EditCustomFormExportView.urlname),
    url(r"^custom/case/(?P<export_id>[\w\-]+)/edit/$", EditCustomCaseExportView.as_view(),
        name=EditCustomCaseExportView.urlname),
    url(r"^custom/(?P<export_id>[\w\-]+)/delete/$", DeleteCustomExportView.as_view(), name=DeleteCustomExportView.urlname),
)
コード例 #3
0
ファイル: urls.py プロジェクト: NoahCarnahan/commcare-hq
from django.conf.urls.defaults import *
from corehq.apps.export.views import (CreateCustomFormExportView, CreateCustomCaseExportView,
                                      EditCustomFormExportView, EditCustomCaseExportView,
                                      DeleteCustomExportView)

urlpatterns = patterns(
    'corehq.apps.export.views',
    url(r"^customize/form/$", CreateCustomFormExportView.as_view(), name=CreateCustomFormExportView.urlname),
    url(r"^customize/case/$", CreateCustomCaseExportView.as_view(), name=CreateCustomCaseExportView.urlname),
    url(r"^custom/form/(?P<export_id>[\w\-]+)/edit/$", EditCustomFormExportView.as_view(),
        name=EditCustomFormExportView.urlname),
    url(r"^custom/case/(?P<export_id>[\w\-]+)/edit/$", EditCustomCaseExportView.as_view(),
        name=EditCustomCaseExportView.urlname),
    url(r"^custom/(?P<export_id>[\w\-]+)/delete/$", DeleteCustomExportView.as_view(), name=DeleteCustomExportView.urlname),
)
コード例 #4
0
ファイル: urls.py プロジェクト: bazuzi/commcare-hq
urlpatterns = patterns(
    'corehq.apps.export.views',
    url(r"^custom/form/$",
        FormExportListView.as_view(),
        name=FormExportListView.urlname),
    url(r"^custom/form_deid/$",
        DeIdFormExportListView.as_view(),
        name=DeIdFormExportListView.urlname),
    url(r"^custom/case/$",
        CaseExportListView.as_view(),
        name=CaseExportListView.urlname),
    url(r"^custom/form/create$",
        CreateCustomFormExportView.as_view(),
        name=CreateCustomFormExportView.urlname),
    url(r"^custom/case/create$",
        CreateCustomCaseExportView.as_view(),
        name=CreateCustomCaseExportView.urlname),
    url(r"^custom/form/download/bulk/$",
        BulkDownloadFormExportView.as_view(),
        name=BulkDownloadFormExportView.urlname),
    url(r"^custom/form/download/(?P<export_id>[\w\-]+)/$",
        DownloadFormExportView.as_view(),
        name=DownloadFormExportView.urlname),
    url(r"^custom/form/edit/(?P<export_id>[\w\-]+)/$",
        EditCustomFormExportView.as_view(),
        name=EditCustomFormExportView.urlname),
    url(r"^custom/case/download/(?P<export_id>[\w\-]+)/$",
        DownloadCaseExportView.as_view(),
        name=DownloadCaseExportView.urlname),
    url(r"^custom/case/edit/(?P<export_id>[\w\-]+)/$",
        EditCustomCaseExportView.as_view(),