mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #16717 -- Added ability to store result of trans template tag in context variable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -283,6 +283,10 @@ Django 1.4 also includes several smaller improvements worth noting:
|
||||
about :ref:`the 403 (HTTP Forbidden) view<http_forbidden_view>` for more
|
||||
information.
|
||||
|
||||
* The :ttag:`trans` template tag now takes an optional ``as`` argument to
|
||||
be able to retrieve a translation string without displaying it but setting
|
||||
a template context variable instead.
|
||||
|
||||
.. _backwards-incompatible-changes-1.4:
|
||||
|
||||
Backwards incompatible changes in 1.4
|
||||
|
||||
Reference in New Issue
Block a user