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.
Installation
-----------
Install using PIP
``pip install django-absoluteurl``
Add "absoluteurl" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
...
'absoluteurl',
)
Usage
-----------
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' some_id=some_object.id %}
You can also use it with 'as' form:
{% absoluteurl 'your_namespace:your_view' some_id=some_object.id as abs_url %}
{{ abs_url }}
Credits
-------------
Created by Bartosz Gryszko, 2014
MIT License
Metadata
Release files for django-absoluteurl 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-absoluteurl-1.0.tar.gz | 4.8 kB | Without provenance | Details for django-absoluteurl-1.0.tar.gz |
Release files / django-absoluteurl-1.0.tar.gz
| Download URL | django-absoluteurl-1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12fd45d63a69ab9e33288527d9908aab009e987391bac51bdafaa840ef43b23e
|
|
BLAKE2b-256 checksum How to use checksums |
8d9944bbcd7b67d307aca9aebc6ba61df9daaa384f41a7176821a615c58e0789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-absoluteurl 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.