add a new cms ENV configuration to use a slow upload file handler to help test progress bars in uploads

This commit is contained in:
Chris Dodge
2013-05-29 13:21:31 -04:00
committed by David Baumgold
parent e6a84f84b2
commit b43f1c7331
3 changed files with 19 additions and 0 deletions

7
cms/envs/debug_upload.py Normal file
View File

@@ -0,0 +1,7 @@
from .dev import *
FILE_UPLOAD_HANDLERS = (
'contentstore.debug_file_uploader.DebugFileUploader',
'django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler',
)