Django 1.5, using the app
localeurl
With urlpattern like so :
urlpatterns += i18n_patterns(
url(r'^user/login/?$','django.contrib.auth.views.login',\
{'template_name':'user/login.html'}),
)
and in the template, this
{% url 'django.contrib.auth.views.login' %}
prepends the language code twice . It outputs "en/en/user/login" .
Does anybody have an idea how to get rid of the double language code, or where this might come from ?