Skip to main content

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


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)

Uploaded Source

File details

Details for the file coffin-absolute-0.1.0.tar.gz.

File metadata

File hashes

Hashes for coffin-absolute-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5dde3185458800dd6ca2ab666345905c51d94ec3889d2341fd980ee0b5accb91
MD5 31cddc3930c376307c315cbe87f7ea16
BLAKE2b-256 5b6b498e2234ac6b84017c8e5cfde13715f33d0534c92e38a2a0748be0910910

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page