-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: upgrading django-storages to 1.10.1 #32571
Changes from 10 commits
3845490
63eaa2e
42e1766
b0c1368
0ef4e8f
81a89b4
74afbf0
fe4c54e
1b6cc9b
7db65b5
b089c69
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2497,9 +2497,9 @@ | |
# STORAGE_KWARGS=dict(bucket='video-image-bucket'), | ||
STORAGE_KWARGS=dict( | ||
location=MEDIA_ROOT, | ||
base_url=MEDIA_URL, | ||
), | ||
DIRECTORY_PREFIX='video-images/', | ||
BASE_URL=MEDIA_URL, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These values override for sandbox and stage/prod and there base_url does not exists. Its for devstack. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are default settings allowed params as per base.py
If any value pass to constructor it verifies all those params against above params and throws error if its not exists in defaults. https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#general-5 |
||
) | ||
|
||
VIDEO_IMAGE_MAX_AGE = 31536000 | ||
|
@@ -2512,9 +2512,9 @@ | |
# STORAGE_KWARGS=dict(bucket='video-transcripts-bucket'), | ||
STORAGE_KWARGS=dict( | ||
location=MEDIA_ROOT, | ||
base_url=MEDIA_URL, | ||
), | ||
DIRECTORY_PREFIX='video-transcripts/', | ||
BASE_URL=MEDIA_URL, | ||
) | ||
|
||
VIDEO_TRANSCRIPTS_MAX_AGE = 31536000 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Constructor now verifies its passing params and base_url is unknown for this package.