<gh_stars>0
from __future__ import unicode_literals

from mayan.apps.storage.utils import get_storage_subclass

from .settings import (
    setting_documentimagecache_storage,
    setting_documentimagecache_storage_arguments,
    setting_storage_backend, setting_storage_backend_arguments
)

storage_documentversion = get_storage_subclass(
    dotted_path=setting_storage_backend.value
)(**setting_storage_backend_arguments.value)

storage_documentimagecache = get_storage_subclass(
    dotted_path=setting_documentimagecache_storage.value
)(**setting_documentimagecache_storage_arguments.value)

from __future__ import unicode_literals

from mayan.apps.storage.utils import get_storage_subclass

from .settings import (
    setting_documentimagecache_storage,
    setting_documentimagecache_storage_arguments,
    setting_storage_backend, setting_storage_backend_arguments
)

storage_documentversion = get_storage_subclass(
    dotted_path=setting_storage_backend.value
)(**setting_storage_backend_arguments.value)

storage_documentimagecache = get_storage_subclass(
    dotted_path=setting_documentimagecache_storage.value
)(**setting_documentimagecache_storage_arguments.value)