summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-10-17 09:03:51 -0400
committerTim Graham <timograham@gmail.com>2018-10-17 09:03:51 -0400
commit4268d275b8a2d362983309e0437de4631f56413e (patch)
tree2112b4299e0a75d33f49029d144e0ecddc535057
parentbc7dd8490b882b2cefdc7faf431dc64c532b79c9 (diff)
Fixed #29857 -- Added get_storage_class to django.core.files.storage.__all__.
-rw-r--r--django/core/files/storage.py5
1 files changed, 4 insertions, 1 deletions
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: