Update to django-storage-swift v1.2.18
and enable lazy connections by default. cf https://github.com/dennisv/django-storage-swift/pull/97
This commit is contained in:
@@ -18,6 +18,7 @@ SWIFT_USE_TEMP_URLS = AUTH_TOKENS.get('SWIFT_USE_TEMP_URLS', False)
|
||||
SWIFT_TEMP_URL_KEY = AUTH_TOKENS.get('SWIFT_TEMP_URL_KEY')
|
||||
SWIFT_TEMP_URL_DURATION = AUTH_TOKENS.get('SWIFT_TEMP_URL_DURATION', 1800) # seconds
|
||||
SWIFT_CONTENT_TYPE_FROM_FD = AUTH_TOKENS.get('SWIFT_CONTENT_TYPE_FROM_FD', True)
|
||||
SWIFT_LAZY_CONNECT = AUTH_TOKENS.get('SWIFT_LAZY_CONNECT', True)
|
||||
|
||||
if AUTH_TOKENS.get('SWIFT_REGION_NAME'):
|
||||
SWIFT_EXTRA_OPTIONS = {'region_name': AUTH_TOKENS['SWIFT_REGION_NAME']}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
#
|
||||
|
||||
# OpenStack swift backend for django storage API
|
||||
django-storage-swift==1.2.15
|
||||
django-storage-swift==1.2.18
|
||||
|
||||
Reference in New Issue
Block a user