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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to