This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Django extension for url manipulation

Project Description
===========
django-furl [WIP]
===========
|Version| |License| |Downloads|

.. |Version| image:: https://img.shields.io/pypi/v/django-furl.svg?style=flat
:target: https://pypi.python.org/pypi/django-furl
:alt: Version
.. |License| image:: https://img.shields.io/pypi/l/django-furl.svg?style=flat
:target: https://github.com/poxip/django-furl/blob/master/LICENSE
:alt: License
.. |Downloads| image:: https://img.shields.io/pypi/dm/django-furl.svg
:target: https://pypi.python.org/pypi/django-furl
:alt: Downloads

**django-furl** is a simple Django wrapper of `Furl
<https://github.com/gruns/furl>`_'s API. It provides essential template tags
for url manipulation.

.. code-block::

{% furl_add 'http://somestuff.tv/search/?q=The+Office' character='Michael Scott' year=2005 %}

``http://somestuff.tv/search/?q=The+Office&character=Michael+Scott&year=2005``

Installation
------------
::

$ pip install django-furl


Quick Start
-----------

1. Add "django_furl" to your INSTALLED_APPS::

INSTALLED_APPS = [
...
'django_furl',
]

2. Load "furl_tags" in your template::

{% load furl_tags %}


Basic Usage
-----------

.. code-block::

{% furl_add 'http://somestuff.tv/search/?q=The+Office' character='Michael Scott' year=2005 %}

``http://somestuff.tv/search/?q=The+Office&character=Michael+Scott&year=2005``

.. code-block::

{% furl_update 'http://somestuff.tv/search/?page=3' q='The Big Bang Theory' character='Sheldon Cooper' page=1 %}

``http://somestuff.tv/search/?page=1&q=The+Big+Bang+Theory&character=Sheldon+Cooper``

.. code-block::

{% furl_add 'http://somestuff.tv/search/?facets=Type.Other' facets='Category.Drama' q='True Detective' %}

``http://somestuff.tv/search/?facets=Type.Other&facets=Category.Drama&q=True+Detective``

.. code-block::

{% furl_del 'http://somestuff.tv/search/?facets=Type.Other&facets=Category.Other&q=w' 'facets' 'q' %}

``http://somestuff.tv/search/``
Release History

Release History

This version
History Node

0.1.0

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-furl-0.1.0.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Feb 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting