mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-25 09:20:23 +00:00
12 lines
385 B
Python
12 lines
385 B
Python
from ..utils import get_singleton
|
|
from .base import InvalidImageCacheBackendError, PessimisticImageCacheBackend, NonValidatingImageCacheBackend
|
|
|
|
|
|
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,
|
|
'validation backend')
|