Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
075adf55
Commit
075adf55
authored
Jul 20, 2021
by
Soner
Committed by
Diederik van der Boor
Nov 16, 2021
Browse files
Update changes.rst
parent
5fed25aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES.rst
View file @
075adf55
...
...
@@ -8,7 +8,7 @@ Changes in 2.3 (2021-05-17)
* Added French locale.
* Fixed support for django-storages > 1.10.
* Fixed Django 4 deprecation warnings
* Dropped Python
3
support.
* Dropped Python
2.7/3.4/3.5
support.
* Dropped Django 1.8/1.9/1.10/1.11 support.
...
...
private_storage/storage/s3boto3.py
View file @
075adf55
...
...
@@ -54,8 +54,6 @@ class PrivateS3BotoStorage(S3Boto3Storage):
self
.
gzip
=
setting
(
'AWS_PRIVATE_IS_GZIPPED'
,
self
.
gzip
)
self
.
url_protocol
=
setting
(
'AWS_PRIVATE_S3_URL_PROTOCOL'
,
self
.
url_protocol
)
self
.
region_name
=
setting
(
'AWS_PRIVATE_S3_REGION_NAME'
,
self
.
region_name
)
def
url
(
self
,
name
,
*
args
,
**
kwargs
):
if
appconfig
.
PRIVATE_STORAGE_S3_REVERSE_PROXY
or
not
self
.
querystring_auth
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment