This is a bug that will be fixed in the next bugfix release django (1.8.8)

https://docs.djangoproject.com/en/1.9/releases/1.8.8/#bugfixes



2015-12-10 3:26 GMT-03:00 sandino <bdz...@gmail.com>:

> Hello,
>
> I have custom localized data formats (
> https://docs.djangoproject.com/en/1.8/topics/i18n/formatting/#creating-custom-format-files
> ) that I use in my template. After upgrading to 1.8.7 it stopped working
> (it shows something like
> 0MarchSunMarchX_th00+0000RUTC_SunAMUTCMarchUTC0MarMarch_March+0000RMarAMUTC).
> I think it has to do with this fix
> https://docs.djangoproject.com/en/1.8/releases/1.8.7/#fixed-settings-leak-possibility-in-date-template-filter
>
> My directory structure (there are few other languages besides):
>
> /project
>   __init__.py
>   /project_app
>     __init__.py
>     /formats
>       __init__.py
>       /en
>         __init__.py
>         formats.py
>
> formats.py:
>
> INDEX_SHORT_DATETIME_FORMAT = 'm/d H:i'
>
>
> settings.py:
>
> FORMAT_MODULE_PATH = ['myapp.formats']
>
>
>
> Is it a bug or my mistake?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/dd554709-8283-4dc9-ae4c-d2168a3096f6%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/dd554709-8283-4dc9-ae4c-d2168a3096f6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Fábio C. Barrionuevo da Luz
Palmas - Tocantins - Brasil - América do Sul

http://pythonclub.com.br/

Blog colaborativo sobre Python e tecnologias Relacionadas, mantido
totalmente no https://github.com/pythonclub/pythonclub.github.io .

Todos são livres para publicar. É só fazer fork, escrever sua postagem e
mandar o pull-request. Leia mais sobre como publicar em README.md e
contributing.md.
Regra básica de postagem:
"Você" acha interessante? É útil para "você"? Pode ser utilizado com Python
ou é útil para quem usa Python? Está esperando o que? Publica logo, que
estou louco para ler...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPVjvMZEWD_vCr%3DBx7z2BZJ5LUZ2bUtiqnHEeSssTRjTnPcZrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to