예제 #1
0
        name='unrelease_build', kwargs={'is_released': False}),
    url(r'^releases/profiles/$', LanguageProfilesView.as_view(), name=LanguageProfilesView.urlname),
    url(r'^modules-(?P<module_id>[\w-]+)/$', view_module_legacy,
        name='view_module_legacy'),
    url(r'^module/(?P<module_unique_id>[\w-]+)/$', view_module, name='view_module'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/$',
        view_form_legacy, name='view_form_legacy'),
    url(r'^form/(?P<form_unique_id>[\w-]+)/$', view_form, name='view_form'),
    url(r'^get_form_datums/$', get_form_datums, name='get_form_datums'),
    url(r'^get_form_questions/$', get_form_questions, name='get_form_questions'),
    url(r'^form/(?P<form_unique_id>[\w-]+)/source/$', form_source, name='form_source'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/source/$',
        form_source_legacy, name='form_source_legacy'),
    url(r'^app_data/$', AppDataView.as_view(), name=AppDataView.urlname),
    url(r'^summary/$', AppFormSummaryView.as_view(), name=AppFormSummaryView.urlname),
    url(r'^summary/case/$', AppCaseSummaryView.as_view(), name=AppCaseSummaryView.urlname),
    url(r'^summary/form/$', AppFormSummaryView.as_view(), name=AppFormSummaryView.urlname),
    url(r'^summary/case/download/$', DownloadCaseSummaryView.as_view(), name=DownloadCaseSummaryView.urlname),
    url(r'^summary/form/download/$', DownloadFormSummaryView.as_view(), name=DownloadFormSummaryView.urlname),
    url(r'^summary/app/download/$', DownloadAppSummaryView.as_view(), name=DownloadAppSummaryView.urlname),
    url(r'^update_build_comment/$', update_build_comment,
        name='update_build_comment'),
    url(r'^copy/gzip$', export_gzip, name='gzip_app'),
    url(r'^update_prompts/$', PromptSettingsUpdateView.as_view(), name=PromptSettingsUpdateView.urlname),
    url(r'^form_has_submissions/(?P<form_unique_id>[\w-]+)/$', FormHasSubmissionsView.as_view(),
        name=FormHasSubmissionsView.urlname),
]


urlpatterns = [
    url(r'^$', view_app, name='default_app'),
예제 #2
0
 url(r'^get_form_datums/$', get_form_datums, name='get_form_datums'),
 url(r'^get_form_questions/$',
     get_form_questions,
     name='get_form_questions'),
 url(r'^form/(?P<form_unique_id>[\w-]+)/source/$',
     form_source,
     name='form_source'),
 url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/source/$',
     form_source_legacy,
     name='form_source_legacy'),
 url(r'^app_data/$', AppDataView.as_view(), name=AppDataView.urlname),
 url(r'^summary/$',
     AppFormSummaryView.as_view(),
     name=AppFormSummaryView.urlname),
 url(r'^summary/case/$',
     AppCaseSummaryView.as_view(),
     name=AppCaseSummaryView.urlname),
 url(r'^summary/form/$',
     AppFormSummaryView.as_view(),
     name=AppFormSummaryView.urlname),
 url(r'^summary/case/download/$',
     DownloadCaseSummaryView.as_view(),
     name=DownloadCaseSummaryView.urlname),
 url(r'^summary/form/download/$',
     DownloadFormSummaryView.as_view(),
     name=DownloadFormSummaryView.urlname),
 url(r'^summary/app/download/$',
     DownloadAppSummaryView.as_view(),
     name=DownloadAppSummaryView.urlname),
 url(r'^update_build_comment/$',
     update_build_comment,
예제 #3
0
파일: urls.py 프로젝트: dimagi/commcare-hq
        name='unrelease_build', kwargs={'is_released': False}),
    url(r'^releases/profiles/$', LanguageProfilesView.as_view(), name=LanguageProfilesView.urlname),
    url(r'^modules-(?P<module_id>[\w-]+)/$', view_module_legacy,
        name='view_module_legacy'),
    url(r'^module/(?P<module_unique_id>[\w-]+)/$', view_module, name='view_module'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/$',
        view_form_legacy, name='view_form_legacy'),
    url(r'^form/(?P<form_unique_id>[\w-]+)/$', view_form, name='view_form'),
    url(r'^get_form_datums/$', get_form_datums, name='get_form_datums'),
    url(r'^get_form_questions/$', get_form_questions, name='get_form_questions'),
    url(r'^form/(?P<form_unique_id>[\w-]+)/source/$', form_source, name='form_source'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/source/$',
        form_source_legacy, name='form_source_legacy'),
    url(r'^app_data/$', AppDataView.as_view(), name=AppDataView.urlname),
    url(r'^summary/$', AppFormSummaryView.as_view(), name=AppFormSummaryView.urlname),
    url(r'^summary/case/$', AppCaseSummaryView.as_view(), name=AppCaseSummaryView.urlname),
    url(r'^summary/form/$', AppFormSummaryView.as_view(), name=AppFormSummaryView.urlname),
    url(r'^summary/case/download/$', DownloadCaseSummaryView.as_view(), name=DownloadCaseSummaryView.urlname),
    url(r'^summary/form/download/$', DownloadFormSummaryView.as_view(), name=DownloadFormSummaryView.urlname),
    url(r'^summary/app/download/$', DownloadAppSummaryView.as_view(), name=DownloadAppSummaryView.urlname),
    url(r'^update_build_comment/$', update_build_comment,
        name='update_build_comment'),
    url(r'^copy/gzip$', export_gzip, name='gzip_app'),
    url(r'^update_prompts/$', PromptSettingsUpdateView.as_view(), name=PromptSettingsUpdateView.urlname),
    url(r'^form_has_submissions/(?P<form_unique_id>[\w-]+)/$', FormHasSubmissionsView.as_view(),
        name=FormHasSubmissionsView.urlname),
]


urlpatterns = [
    url(r'^$', view_app, name='default_app'),