diff options
| author | Chris McDonough <chrism@plope.com> | 2013-08-29 05:08:53 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-08-29 05:08:53 -0400 |
| commit | 330164c3190d92a3e1df89baafba12570d03bd32 (patch) | |
| tree | 42b8647b1ea631cd53e75d157a6f1af13bcf9276 /CHANGES.txt | |
| parent | 8a7e80dc64947691fa72925d701d35c3e1d8c87a (diff) | |
| download | pyramid-330164c3190d92a3e1df89baafba12570d03bd32.tar.gz pyramid-330164c3190d92a3e1df89baafba12570d03bd32.tar.bz2 pyramid-330164c3190d92a3e1df89baafba12570d03bd32.zip | |
make local_name an attribute of Request, move logic from get_localizer into Request.localizer, fix docs; closes #1099
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 6cb2932fa..93349abe6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,8 +9,10 @@ Features represent a "bare" ``{{a}}``. See https://github.com/Pylons/pyramid/pull/862 -- Add ``localizer`` property (reified) to the request. - See https://github.com/Pylons/pyramid/issues/508. +- Add ``localizer`` and ``locale_name`` properties (reified) to the request. + See https://github.com/Pylons/pyramid/issues/508. Note that the + ``pyramid.i18n.get_localizer`` and ``pyramid.i18n.get_locale_name`` functions + now simply look up these properties on the request. - Add ``pdistreport`` script, which prints the Python version in use, the Pyramid version in use, and the version number and location of all Python @@ -224,6 +226,12 @@ Backwards Incompatibilities as WSGI servers always unquote the slash anyway, and Pyramid never sees the quoted value. +- It is no longer possible to set a ``locale_name`` attribute of the request, + nor is it possible to set a ``localizer`` attribute of the request. These + are now "reified" properties that look up a locale name and localizer + respectively using the machinery described in the "Internationalization" + chapter of the documentation. + 1.4 (2012-12-18) ================ |
