Skip to main content
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!

Robust internationalized urls implementation for Django.

Project Description
# django-robust-i18n-urls

This application solves a few problems related with using internaitonalized
urls inside Django. If you want a full rationale please check out:

http://blog.karolmajta.com/robust-internationalized-urls-for-django.html

for an article explaining issues that arise when dealing with default
Django setup for internationalized urls.

## Usage

To use the app:

pip install django-robust-i18n-urls

In your `urls.py`, add to your `urlpatterns`:

url(r'^i18n/', include('robust_urls.urls')),

In your `settings.py`:

MIDDLEWARE_CLASSES = (
# ...
'robust_urls.middleware.RobustI18nLocaleMiddleware',
# ...
)

This should get you going with the default setup. Django's documentation
on translation and selecting language can help you.

For full documentation please see
http://django-robust-i18n-urls.readthedocs.org/

## Development

Clone this repo, then:

pip install -e .
pip install -r requirements.txt
python setup.py test

## TODO/Roadmap

Currently I don't need any more features beyond what is already provided,
but if you have ones that suit your use cases, feel free to issue a pull
request. Any additional tests are welcome too.
Release History

Release History

History Node

1.0.1rc1

This version
History Node

1.0.0

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-robust-i18n-urls-1.0.0.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Feb 15, 2014

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