leMiddleware after your
> ForceDefaultLanguage,
> so
> https://github.com/django/django/blob/master/django/middleware/locale.py#L26
> is setting the default language.
>
> Hope it helps.
>
> El sábado, 26 de marzo de 2016, 20:43:09 (UTC+1), Mathieu Poussin escribió:
>>
>
oject.com/en/1.9/topics/i18n/translation/#module-django.conf.urls.i18n]
>
> (Not confirmed, but was true last time I checked it)
>
>
> Hope it helps.
>
> El sábado, 26 de marzo de 2016, 20:43:09 (UTC+1), Mathieu Poussin escribió:
>>
>> Hello,
>>
>> I hav
Hello,
I have an issue, I am creating a website that will be available in many
languages, sharing the same database.
Most models have a "language" attribute that is the 2 letters from the
language code (en, es, fr, etc.).
I am trying to find a way to show the correct content per language.
I tr
Hello ,
i have a question,
by default , django add a slash at the end of the url , like that :
http://my/documents/hello -> http://my/documents/hello/
it's possible to add .html instead of that ? like that :
http://my/documents/hello -> http://my/documents/hello.html
if yes, how ?
thanks , Sorr
4 matches
Mail list logo