Files
mayan-edms/apps/documents/storage.py

8 lines
245 B
Python
Executable File

from django.core.files.storage import FileSystemStorage
class DocumentStorage(FileSystemStorage):
def __init__(self, *args, **kwargs):
super(DocumentStorage, self).__init__(*args, **kwargs)
self.location='document_storage'