Storages¶
-
class
oscar_invoices.storages.
DocumentsStorage
(*args, **kwargs)[source]¶ Bases:
django.core.files.storage.FileSystemStorage
Custom filesystem storage for storing documents outside of media directory (destination folder - settings.OSCAR_INVOICES_DOCUMENT_ROOT) and restricting their public access via URL.
-
base_location
¶
-
deconstruct
()¶ Return a 3-tuple of class import path, positional arguments, and keyword arguments.
-