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.2-20101221.tar.gz.
File metadata
- Download URL: Flask-Versioned-0.9.2-20101221.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec9fb48d03b7713e4c32f7528ff02c5147bbcb94db5f1cfbc0af1c40f9039d85
|
|
| MD5 |
9eb5efc8638f0db7a4b2508a2f1936af
|
|
| BLAKE2b-256 |
d78dee7764f8d0d392f823d4518ba0dfc054f8515b344b19aa63dd887e712575
|