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 hashes)

Uploaded Source

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