Add version info to file paths.
Project description
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
Project details
Release history Release notifications | RSS feed
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.4-20101221.tar.gz
.
File metadata
- Download URL: Flask-Versioned-0.9.4-20101221.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34 |
|
MD5 | a2631a3acdfe5172149dfa5a62536233 |
|
BLAKE2b-256 | 52cfc005563642a7983fc172a1227b5817d61b8f67bce30a82e89ae02803635d |