mirror of
https://github.com/wassname/flask-s3.git
synced 2026-09-09 11:22:32 +08:00
Added handling of special arguments to url_for.
The args: _external, _anchor, _method are ignored, and _scheme can be used for per url scheme overriding of the config setting. Added corresponding tests, and doc.
This commit is contained in:
@@ -191,6 +191,8 @@ uploading assets to S3.
|
||||
**Default:** `'host'`
|
||||
`S3_USE_HTTPS` Specifies whether or not to serve your assets
|
||||
stored in S3 over HTTPS.
|
||||
Can be overriden per url, by using the `_scheme`
|
||||
argument as per usual Flask `url_for`.
|
||||
**Default:** `True`
|
||||
`USE_S3` This setting allows you to toggle whether Flask-S3
|
||||
is active or not. When set to `False` your
|
||||
|
||||
Reference in New Issue
Block a user