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:
bool.dev
2015-11-20 19:01:05 +05:30
parent 17f8693b6b
commit bda55fa093
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -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