Source

django-storages / storages / backends / moka.py

The default branch has multiple heads

Full commit
from queued_storage.backend import QueuedRemoteStorage
import logging

# Get an instance of a logger
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)


class MokaStorage(QueuedRemoteStorage):
    """Moka custom storage."""

    def __init__(self):
        logger.info("Initializing storage: %s", self)
        super(MokaStorage, self).__init__(
            local='django.core.files.storage.FileSystemStorage',
            remote='storages.backends.mosso.CloudFilesStorage')