summaryrefslogtreecommitdiff
path: root/django/template
AgeCommit message (Collapse)Author
2016-11-24Fixed #27517 -- Fixed charset param in SimpleTemplateResponse.__init__().Kosei Kitahara
2016-11-23Cleaned up some __getstate__() docstrings.Tim Graham
2016-11-15Fixed #27394 -- Added scientific notation support for big integers in ↵Mariusz Felisiak
floatformat filter.
2016-11-14Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-08Fixed #27175 -- Deprecated silencing exceptions from the {% include %} ↵Jon Dufresne
template tag. Thanks Tim Graham for the review.
2016-09-03Fixed #25788 -- Enabled the cached template loader if debug is False.Tim Graham
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
The smart_* version should only be used when a lazy string should keep its lazy status.
2016-09-01Fixed #5908 -- Added {% resetcycle %} template tag.Sergei Maertens
Thanks to Simon Litchfield for the report, Uninen for the initial patch, akaihola, jamesp, b.schube, and Florian Appoloner for subsequent patches, tests, and documentation.
2016-08-31Fixed #27140 -- Prevented template rendering from hiding a property's TypeError.Tim Graham
2016-08-26Fixed #27126 -- Made {% regroup %} return a namedtuple to ease unpacking.Baptiste Mispelon
2016-08-26Changed the example in the {% regroup %} docstring.Baptiste Mispelon
2016-08-15Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.Tim Graham
Thanks Sergei Maertens for the report and patch.
2016-08-13Refs #13408 -- Removed obsolete code/comments from {% for %} unpacking ↵Tim Graham
deprecation.
2016-08-09Renamed a camel case variable in the cycle template tag.Sergei Maertens
2016-08-09Fixed #26830 -- Prevented the 'with' templatetag from resetting the cycle ↵Alexander Schrijver
variable to its initial state.
2016-06-28Fixed #24694 -- Added support for context_processors to Jinja2 backend.Berker Peksag
2016-06-21Corrected firstof template tag's docstring.Samir Shah
Since Django 1.8, firstof escapes its output.
2016-05-27Fixed #26573 -- Added descriptive error message for malformed if/else/elif ↵inondle
template tags.
2016-05-10Fixed #24046 -- Deprecated the "escape" half of utils.safestring.Tim Graham
2016-05-10Fixed #26603 -- Forced lazy template names to text when computing cache key.Simon Charette
Refs #26536. Thanks Sylvain Fankhauser for the very detailed report.
2016-05-09Refs #24046 -- Removed redundant condition in render_value_in_context()Tim Graham
Calling conditional_escape() on SafeData won't change it.
2016-05-08Fixed #26483 -- Updated docs.python.org links to use Intersphinx.Tim Graham
2016-05-07Fixed #26402 -- Added relative path support in include/extends template tags.Vitaly Bogomolov
2016-04-24Fixed #26536 -- Preserved leading dashes of the cached template loader keys.Simon Charette
Thanks Anders Roos for the report.
2016-04-20Fixed #26281 -- Added a helpful error message for an invalid format ↵Marko Benko
specifier to dateformat.format().
2016-04-09Fixed #26479 -- Added 'is not' operator to the if tag.Alasdair Nicol
2016-04-09Fixed #26145 -- Made debug context processor return queries for all databases.Mounir Messelmeni
2016-04-09Fixed #26403 -- Removed translated content in "Invalid block tag" message.amureki
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-07Removed obsolete comment in if tag.Stephen Kelly
The double equals operator was removed in 2ccfac1a651ff35cd243cd272b2202ae1ccd5740.
2016-03-16Fixed #26306 -- Fixed memory leak in cached template loader.Alex Hill
2016-02-26Fixed #26280 -- Fixed cached template loader crash when loading nonexistent ↵Ivan Tsouvarev
template.
2016-02-23Fixed #25670 -- Allowed dictsort to sort a list of lists.Andrew Kuchev
Thanks Tim Graham for the review.
2016-02-23Fixed #26263 -- Deprecated Context.has_key()Tim Graham
2016-01-30Fixed #25758 -- Defaulted to current language FORMATs in date/time filtersClaude Paroz
Thanks Ali Lozano for the report and the initial patch, and Tim Graham for the review.
2016-01-26Fixed #25848 -- Set template origin on each node.Preston Timmons
Prior to 55f12f8709, the template origin was available on each node via `self.token.source[0]`. This behavior was removed when debug handling was simplified, but 3rd-party debugging tools still depend on its presence. This updates the Parser to set origin on individual nodes. This enables the source template to be determined even when template extending or including is used.
2016-01-25Fixed #26109 -- Raised a helpful error if loader.select_tamplate() is passed ↵Ahmed Mohamed
a string.
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-22Fixed #26118 -- Added 'is' operator to if template tag.Preston Timmons
2016-01-11Added missing period to "etc.".pp
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-03Fixed #25825 -- Implemented __ne__() for template OriginJaap Roes
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-26Fixed a typo in the template Parser.parse docstring.Jaap Roes
2015-11-17Fixed #25682 -- Removed bare except clauses.Attila Tovt
2015-11-12Fixed #25469 -- Added autoescape option to DjangoTemplates backend.Aaron Elliot Ross
Thanks Aymeric for the initial patch and Carl for review.
2015-11-07Simplified dict initialization in two places.Dmitry Dygalo