ManageMultimediaPathsView.as_view(), name=ManageMultimediaPathsView.urlname), url(r'^paths/download/$', download_multimedia_paths, name='download_multimedia_paths'), url(r'^paths/update/$', update_multimedia_paths, name='update_multimedia_paths'), url(r'^translations/$', MultimediaTranslationsCoverageView.as_view(), name=MultimediaTranslationsCoverageView.urlname), url(r'^uploaded/bulk/$', ProcessBulkUploadView.as_view(), name=ProcessBulkUploadView.urlname), url(r'^uploaded/image/$', ProcessImageFileUploadView.as_view(), name=ProcessImageFileUploadView.urlname), url(r'^uploaded/app_logo/(?P<logo_name>[\w\-]+)/$', ProcessLogoFileUploadView.as_view(), name=ProcessLogoFileUploadView.urlname), url(r'^uploaded/audio/$', ProcessAudioFileUploadView.as_view(), name=ProcessAudioFileUploadView.urlname), url(r'^uploaded/video/$', ProcessVideoFileUploadView.as_view(), name=ProcessVideoFileUploadView.urlname), url(r'^uploaded/text/$', ProcessTextFileUploadView.as_view(), name=ProcessTextFileUploadView.urlname), url(r'^uploaded/detail_print/(?P<module_unique_id>[\w-]+)/$', ProcessDetailPrintTemplateUploadView.as_view(),
MultimediaReferencesView, ProcessImageFileUploadView, ProcessAudioFileUploadView, ProcessVideoFileUploadView, ProcessLogoFileUploadView, ) urlpatterns = patterns('corehq.apps.hqmedia.views', url(r'^file/(?P<media_type>[\w\-]+)/(?P<doc_id>[\w\-]+)/(.+)?$', ViewMultimediaFile.as_view(), name=ViewMultimediaFile.name), url(r'^upload_status/$', MultimediaUploadStatusView.as_view(), name=MultimediaUploadStatusView.name) ) application_urls = patterns('corehq.apps.hqmedia.views', url(r'^upload/$', BulkUploadMultimediaView.as_view(), name=BulkUploadMultimediaView.name), url(r'^uploaded/bulk/$', ProcessBulkUploadView.as_view(), name=ProcessBulkUploadView.name), url(r'^uploaded/image/$', ProcessImageFileUploadView.as_view(), name=ProcessImageFileUploadView.name), url(r'^uploaded/app_logo/(?P<logo_name>[\w\-]+)/$', ProcessLogoFileUploadView.as_view(), name=ProcessLogoFileUploadView.name), url(r'^uploaded/audio/$', ProcessAudioFileUploadView.as_view(), name=ProcessAudioFileUploadView.name), url(r'^uploaded/video/$', ProcessVideoFileUploadView.as_view(), name=ProcessVideoFileUploadView.name), url(r'^map/$', MultimediaReferencesView.as_view(), name=MultimediaReferencesView.name), url(r'^search/$', 'search_for_media', name='hqmedia_search'), url(r'^choose/$', 'choose_media', name='hqmedia_choose_media'), url(r'^urls/$', 'media_urls', name='hqmedia_media_urls'), ) download_urls = patterns('corehq.apps.hqmedia.views', url(r'^commcare.zip$', DownloadMultimediaZip.as_view(), name=DownloadMultimediaZip.name), )
urlpatterns = [ url(r'^file/(?P<media_type>[\w\-]+)/(?P<doc_id>[\w\-]+)/(.+)?$', ViewMultimediaFile.as_view(), name=ViewMultimediaFile.urlname), url(r'^upload_status/$', MultimediaUploadStatusView.as_view(), name=MultimediaUploadStatusView.urlname) ] application_urls = [ url(r'^upload/$', BulkUploadMultimediaView.as_view(), name=BulkUploadMultimediaView.urlname), url(r'^paths/$', ManageMultimediaPathsView.as_view(), name=ManageMultimediaPathsView.urlname), url(r'^paths/download/$', download_multimedia_paths, name='download_multimedia_paths'), url(r'^audio_translator_file/$', MultimediaAudioTranslatorFileView.as_view(), name=MultimediaAudioTranslatorFileView.urlname), url(r'^translations/$', MultimediaTranslationsCoverageView.as_view(), name=MultimediaTranslationsCoverageView.urlname), url(r'^uploaded/bulk/$', ProcessBulkUploadView.as_view(), name=ProcessBulkUploadView.urlname), url(r'^uploaded/image/$', waf_allow('XSS_BODY')(ProcessImageFileUploadView.as_view()), name=ProcessImageFileUploadView.urlname), url(r'^uploaded/app_logo/(?P<logo_name>[\w\-]+)/$', waf_allow('XSS_BODY')(ProcessLogoFileUploadView.as_view()), name=ProcessLogoFileUploadView.urlname), url(r'^uploaded/audio/$', waf_allow('XSS_BODY')(ProcessAudioFileUploadView.as_view()), name=ProcessAudioFileUploadView.urlname), url(r'^uploaded/video/$', waf_allow('XSS_BODY')(ProcessVideoFileUploadView.as_view()), name=ProcessVideoFileUploadView.urlname), url(r'^uploaded/text/$', ProcessTextFileUploadView.as_view(), name=ProcessTextFileUploadView.urlname), url(r'^uploaded/detail_print/(?P<module_unique_id>[\w-]+)/$', ProcessDetailPrintTemplateUploadView.as_view(), name=ProcessDetailPrintTemplateUploadView.urlname), url(r'^remove_logo/$', RemoveLogoView.as_view(), name=RemoveLogoView.urlname), url(r'^remove_print_template/$', RemoveDetailPrintTemplateView.as_view(), name=RemoveDetailPrintTemplateView.urlname), url(r'^map/$', MultimediaReferencesView.as_view(), name=MultimediaReferencesView.urlname),
ProcessTextFileUploadView, ProcessDetailPrintTemplateUploadView, RemoveLogoView, RemoveDetailPrintTemplateView, ) urlpatterns = [ url(r'^file/(?P<media_type>[\w\-]+)/(?P<doc_id>[\w\-]+)/(.+)?$', ViewMultimediaFile.as_view(), name=ViewMultimediaFile.name), url(r'^upload_status/$', MultimediaUploadStatusView.as_view(), name=MultimediaUploadStatusView.name) ] application_urls = [ url(r'^upload/$', BulkUploadMultimediaView.as_view(), name=BulkUploadMultimediaView.name), url(r'^uploaded/bulk/$', ProcessBulkUploadView.as_view(), name=ProcessBulkUploadView.name), url(r'^uploaded/image/$', ProcessImageFileUploadView.as_view(), name=ProcessImageFileUploadView.name), url(r'^uploaded/app_logo/(?P<logo_name>[\w\-]+)/$', ProcessLogoFileUploadView.as_view(), name=ProcessLogoFileUploadView.name), url(r'^uploaded/audio/$', ProcessAudioFileUploadView.as_view(), name=ProcessAudioFileUploadView.name), url(r'^uploaded/video/$', ProcessVideoFileUploadView.as_view(), name=ProcessVideoFileUploadView.name), url(r'^uploaded/text/$', ProcessTextFileUploadView.as_view(), name=ProcessTextFileUploadView.name), url(r'^uploaded/detail_print/(?P<module_unique_id>[\w-]+)/$', ProcessDetailPrintTemplateUploadView.as_view(), name=ProcessDetailPrintTemplateUploadView.name), url(r'^remove_logo/$', RemoveLogoView.as_view(), name=RemoveLogoView.name), url(r'^remove_print_template/$', RemoveDetailPrintTemplateView.as_view(), name=RemoveDetailPrintTemplateView.name), url(r'^map/$', MultimediaReferencesView.as_view(), name=MultimediaReferencesView.name), ] download_urls = [
ManageMultimediaPathsView.as_view(), name=ManageMultimediaPathsView.urlname), url(r'^paths/download/$', download_multimedia_paths, name='download_multimedia_paths'), url(r'^audio_translator_file/$', MultimediaAudioTranslatorFileView.as_view(), name=MultimediaAudioTranslatorFileView.urlname), url(r'^translations/$', MultimediaTranslationsCoverageView.as_view(), name=MultimediaTranslationsCoverageView.urlname), url(r'^uploaded/bulk/$', ProcessBulkUploadView.as_view(), name=ProcessBulkUploadView.urlname), url(r'^uploaded/image/$', waf_allow('XSS_BODY')(ProcessImageFileUploadView.as_view()), name=ProcessImageFileUploadView.urlname), url(r'^uploaded/app_logo/(?P<logo_name>[\w\-]+)/$', waf_allow('XSS_BODY')(ProcessLogoFileUploadView.as_view()), name=ProcessLogoFileUploadView.urlname), url(r'^uploaded/audio/$', ProcessAudioFileUploadView.as_view(), name=ProcessAudioFileUploadView.urlname), url(r'^uploaded/video/$', ProcessVideoFileUploadView.as_view(), name=ProcessVideoFileUploadView.urlname), url(r'^uploaded/text/$', ProcessTextFileUploadView.as_view(), name=ProcessTextFileUploadView.urlname), url(r'^uploaded/detail_print/(?P<module_unique_id>[\w-]+)/$', ProcessDetailPrintTemplateUploadView.as_view(),