Provides absolute_url tag and filter in Jinja2 templates when using the coffin package with Django.
Project description
coffin-absolute
Provides absolute_url tag and filter in Jinja2 templates when using the coffin package with Django.
The absolute_url tag has the same arguments as the url tag. The absolute_url filter takes the request as the additional, first argument.
Both the tag and the filter render an absolute url based on the host of the request context.
Installation
Just add 'coffin_absolute' to INSTALLED_APPS.
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
coffin-absolute-0.1.0.tar.gz
(1.4 kB
view details)
File details
Details for the file coffin-absolute-0.1.0.tar.gz
.
File metadata
- Download URL: coffin-absolute-0.1.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dde3185458800dd6ca2ab666345905c51d94ec3889d2341fd980ee0b5accb91 |
|
MD5 | 31cddc3930c376307c315cbe87f7ea16 |
|
BLAKE2b-256 | 5b6b498e2234ac6b84017c8e5cfde13715f33d0534c92e38a2a0748be0910910 |