skip to navigation
skip to content

Flask-Versioned 0.9.4-20101221

Add version info to file paths.

Downloads ↓ | Package Documentation

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}}">
 
File Type Py Version Uploaded on Size # downloads
Flask-Versioned-0.9.4-20101221.tar.gz (md5) Source 2010-12-21 2KB 434