Package: python-django-localeurl Version: 1.5-1According to setup.rst, adding "localeurl" at the top of INTALLED_APPS should be enough to replace the standard urlresolvers.reverse function. This worked for me with the built-in Django's HTTP server, but for some reason it didn't with mod-wsgi. I had to resort to importing localeurl.models directly in settings.py:
# wget -q -O- http://localhost/ root = / # echo 'import localeurl.models' >> /srv/django/testproject/settings.py # wget -q -O- http://localhost/ root = /en/It would be nice if it could be fixed somehow (I have no idea what is the root cause, though) or at least if the work-around was documented.
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 3.3.0-rc6-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-django-localeurl depends on: ii python 2.7.2-10 ii python-django 1.3.1-4 ii python2.6 2.6.7-4 ii python2.7 2.7.3~rc2-1 -- Jakub Wilk
testapp.tar.gz
Description: Binary data

