1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.

Thanks clay.evil@ for the suggestion.
This commit is contained in:
Jonathan Slenders
2013-08-14 16:14:32 +02:00
committed by Tim Graham
parent 71c491972e
commit ff410565bf
5 changed files with 47 additions and 7 deletions

View File

@@ -156,6 +156,9 @@ Minor features
:meth:`~django.contrib.auth.models.User.email_user()` are passed to the
underlying :meth:`~django.core.mail.send_mail()` call.
* The :ttag:`widthratio` template tag now accepts an "as" parameter to capture
the result in a variable.
Backwards incompatible changes in 1.7
=====================================