[django/django] 950b6d: Fixed #20477: Allowed settings.FORMAT_MODULE_PATH ...

2 views
Skip to first unread message

GitHub

unread,
May 19, 2014, 8:01:17 AM5/19/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 950b6de16ac2f8135612f2ed5984c090dd8e4dcf
https://github.com/django/django/commit/950b6de16ac2f8135612f2ed5984c090dd8e4dcf
Author: Martin Brochhaus <mbr...@gmail.com>
Date: 2014-05-19 (Mon, 19 May 2014)

Changed paths:
M django/utils/formats.py
M docs/ref/settings.txt
M docs/releases/1.8.txt
M docs/topics/i18n/formatting.txt
A tests/utils_tests/test_formats.py
A tests/utils_tests/test_module/formats/__init__.py
A tests/utils_tests/test_module/formats/en/__init__.py
A tests/utils_tests/test_module/formats/en/formats.py
A tests/utils_tests/test_module/formats2/__init__.py
A tests/utils_tests/test_module/formats2/en/__init__.py
A tests/utils_tests/test_module/formats2/en/formats.py

Log Message:
-----------
Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.

Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path).

This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.


Reply all
Reply to author
Forward
0 new messages