hello --
I'd like to extend Django's localized formats by my own defaults, using
the FORMAT_MODULE_PATH setting, e.g. to have those:
SHORT_DAY_ONLY_FORMAT = 'd.'
SHORT_DAYMONTH_FORMAT = 'd.N.'
DATE_RANGE_SEPARATOR = '–'
Sadly, in django.utils.formats.get_format Django checks the hard coded
list of possible FORMAT_SETTINGS and returns the placeholder string if
it doesn't know the format.
Do I missing something or is it just not possible currently to extend
the default formats?
best
-- erik
--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/56EBD381.3090308%40classlibrary.net.
For more options, visit https://groups.google.com/d/optout.