1. tomwys
  2. django-storages


David Larlet  committed 2f8b033

S3: sync imports with the merged patch in django trunk, yay!

  • Participants
  • Parent commits 07f2aa0
  • Branches default

Comments (0)

Files changed (1)

File S3Storage.py

View file
 from django.conf import settings
 from django.core.exceptions import ImproperlyConfigured
-from django.core.files.storage import Storage, StorageFile
+from django.core.files.base import File
+from django.core.files.storage import Storage
 from django.utils.functional import curry
     #    return name
-class S3StorageFile(StorageFile):
+class S3StorageFile(File):
     def __init__(self, data, mode, writer):
         self._mode = mode
         self._write_to_storage = writer