diff options
| author | Simon Charette <charette.s@gmail.com> | 2014-08-29 17:23:13 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-08-29 19:49:39 -0400 |
| commit | 4926c0afe3ff8f306f752b9ae45366cc8fd3e42c (patch) | |
| tree | b3f92ef40f766dc5d3e7d6884ae03f4223100549 /docs/ref | |
| parent | 7a8f405bba59982e6330885922b64d9cf88a67b4 (diff) | |
Documented translation.override as a decorator.
refs #23323.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/utils.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 9c44bbb840..e4164d2d34 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -1049,6 +1049,10 @@ For a complete discussion on the usage of the following see the is ``True``. If you pass ``None`` as the language argument, a ``NullTranslations()`` instance is activated within the context. + .. versionchanged:: 1.8 + + ``override`` is now usable as a function decorator. + .. function:: get_language() Returns the currently selected language code. |
