Add version info to file paths. The default configuration will prefix a timestamp to and make the path absolute. Paths must be files, if a path is unexisting or is a directory, an exception will be raised.
Typically used in templates to allow for really long expiration dates of static content:
<link rel="stylesheet" href="{{"static/css/style.css"|versioned}}">
Links
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-Versioned-0.9.3-20101221.tar.gz.
File metadata
- Download URL: Flask-Versioned-0.9.3-20101221.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f63327fd7bc617e6b4d23385d1f515984f72e11ae9f83bb82ba46c40f0e4f1
|
|
| MD5 |
21616fc57991a71ecd4cc160339b9a40
|
|
| BLAKE2b-256 |
f86de1bfd3839be4188e377649ddc9f82f78f1f9f49a2d65967b66d6047c33d7
|