django-furl is a simple Django wrapper of Furl's API. It provides essential template tags for url manipulation.
{% 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
$ pip install django-furl
Add "django_furl" to your INSTALLED_APPS:
INSTALLED_APPS = [ ... 'django_furl', ]
Load "furl_tags" in your template:
{% load furl_tags %}
{% 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
{% 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
{% 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
{% furl_del 'http://somestuff.tv/search/?facets=Type.Other&facets=Category.Other&q=w' 'facets' 'q' %}
http://somestuff.tv/search/