From 4268d275b8a2d362983309e0437de4631f56413e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 17 Oct 2018 09:03:51 -0400 Subject: Fixed #29857 -- Added get_storage_class to django.core.files.storage.__all__. --- django/core/files/storage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/django/core/files/storage.py b/django/core/files/storage.py index e117d2bcd4..a6498724eb 100644 --- a/django/core/files/storage.py +++ b/django/core/files/storage.py @@ -16,7 +16,10 @@ from django.utils.functional import LazyObject, cached_property from django.utils.module_loading import import_string from django.utils.text import get_valid_filename -__all__ = ('Storage', 'FileSystemStorage', 'DefaultStorage', 'default_storage') +__all__ = ( + 'Storage', 'FileSystemStorage', 'DefaultStorage', 'default_storage', + 'get_storage_class', +) class Storage: -- cgit v1.3