Skip to main content

Absolute Url is an app for creating absolute urls in Django templates.

Project description

Django Absolute Url Template Tag

Absolute Url is an app for creating absolute urls in Django templates. It works like built-in Django ``url`` template tag but with absolute urls.


Install using PIP

``pip install django-absoluteurl``

Add "absoluteurl" to your INSTALLED_APPS setting like this:



First load it in Django template and use it as a tag.

{% load absoluteurl %}

This is simplest example:
{% absoluteurl 'name_for_your_url' %}

This is an absolute url for some object:
{% absoluteurl 'your_namespace:your_view' %}

You can also use it with 'as' form:
{% absoluteurl 'your_namespace:your_view' as abs_url %}
{{ abs_url }}

Created by Bartosz Gryszko, 2014
MIT License

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for django-absoluteurl, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-absoluteurl-1.0.tar.gz (4.8 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