Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

context processors and filters for handling Bi-directional (BiDi) in django templates

Project Description

Provides context processors and filters for handling Bi-directional (BiDi) in django templates, adding some needed functionality to Django’s LANGUAGE_BIDI template var.


The full documentation is at


Install django-bidi-utils:

pip install django-bidi-utils

To use it in a Django project add bidiutils the project’s INSTALLED_APPS setting:


To enable the context processor, add it to TEMPLATE_CONTEXT_PROCESSORS settings:



  • Context processor adding to templates passed a RequestContext BiDi releated variables.
  • add_direction template filter, for adding direction to media resource (images, stylesheets, etc)


1.0 (2013-10-19)

  • Testing for Python 3.3, 2.7 and 2.6 Compatibility.
  • Removed buildout.
  • Re-Based on Cookiecutter.
  • Sphinx for docs, added more examples.

0.2.1 (2009-05-18)

  • Forgot CHANGELOG.rst in

0.2 (2009-05-17)

  • Added template filter add_direction.
  • Removed README, add which includes README.rst.

0.1 (2009-04-28)

  • Initial release, context processors.
Release History

Release History

This version
History Node


History Node


History Node


History Node


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-bidi-utils-1.0.tar.gz (6.0 kB) Copy SHA256 Checksum SHA256 Source Oct 19, 2013

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