Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/settings/common.py
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | REST_FRAMEWORK = { | ||||
), | ), | ||||
"EXCEPTION_HANDLER": "swh.deposit.exception.custom_exception_handler", | "EXCEPTION_HANDLER": "swh.deposit.exception.custom_exception_handler", | ||||
} | } | ||||
FILE_UPLOAD_HANDLERS = [ | FILE_UPLOAD_HANDLERS = [ | ||||
"django.core.files.uploadhandler.MemoryFileUploadHandler", | "django.core.files.uploadhandler.MemoryFileUploadHandler", | ||||
"django.core.files.uploadhandler.TemporaryFileUploadHandler", | "django.core.files.uploadhandler.TemporaryFileUploadHandler", | ||||
] | ] | ||||
DEFAULT_FILE_STORAGE = "swh.deposit.file_storage.PrefixedFileSystemStorage" |