def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
python类STATICFILES_STORAGE的实例源码
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
def copy_file(self, path, prefixed_path, source_storage):
"""
Overwritten to execute only with --upload-unhashed-files param or StaticCloudinaryStorage.
Otherwise only hashed files will be uploaded during postprocessing.
"""
if (settings.STATICFILES_STORAGE == 'cloudinary_storage.storage.StaticCloudinaryStorage' or
self.upload_unhashed_files):
super(Command, self).copy_file(path, prefixed_path, source_storage)
def _setup(self):
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()