mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
12 lines
354 B
Python
12 lines
354 B
Python
from ..utils import get_singleton
|
|
from .base import InvalidImageCacheBackendError, PessimisticImageCacheBackend
|
|
|
|
|
|
def get_default_image_cache_backend():
|
|
"""
|
|
Get the default validation backend.
|
|
|
|
"""
|
|
from django.conf import settings
|
|
return get_singleton(settings.IMAGEKIT_DEFAULT_IMAGE_CACHE_BACKEND,
|
|
'image cache backend')
|