Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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}}">

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-Versioned, version 0.9.4-20101221
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Versioned-0.9.4-20101221.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page