summaryrefslogtreecommitdiff
path: root/django/template
AgeCommit message (Collapse)Author
2017-10-18[2.0.x] Fixed #28711 -- Fixed unordered_list template filter with lazy ↵Jonas Haag
translations. Backport of d997ab776477dd9ecb158229b2622c7f1ed93dfb from master
2017-09-25[2.0.x] Merged startswith() calls.Mariusz Felisiak
Backport of 00709d704ee75ace99c4a81aa60e029caeeac387 from master
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-08-23Removed unneeded iter() calls.Sergey Fedoseev
A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad.
2017-08-22Refs #28502 -- Complemented stringformat tuple handling/test.Claude Paroz
An additional test and a code change were suggested in a late review.
2017-08-21Fixed #28502 -- Made stringformat template filter accept tuplesSrinivas Reddy Thatiparthy
2017-08-07Removed unnecessary else clause in TemplateStrings.get_template().Srinivas Reddy Thatiparthy
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-13Fixed #28071 -- Fixed {% extends %} origin history.John D'Ambrosio
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27Replaced some map() and filter() calls with generators.Tom
2017-05-11Fixed #28129 -- Allowed custom template tags to use keyword-only arguments.Alexander Allakhverdiyev
2017-04-27Replaced django.utils.inspect.getargspec() with inspect.getfullargspec().Alexander Allakhverdiyev
2017-04-26Replaced temporary lists used for passing arguments with iterables.Jon Dufresne
2017-04-06Fixed #28001 -- Updated comment and tested context popping in ForNode.render().kapil garg
2017-04-03Fixed #27974 -- Kept resolved templates constant during one rendering cycle.kapil garg
Thanks Florian Apolloner for the initial patch.
2017-03-31Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates ↵Carlton Gibson
engine if multiple are defined.
2017-03-25Fixed #27956 -- Fixed display of errors in an {% extends %} child.Tim Graham
Thanks Ling-Xiao Yang for the report and test, and Preston Timmons for the fix.
2017-02-23Refs #23919 -- Used yield from.Vytis Banaitis
2017-02-17Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257.Anton Samarchyan
2017-02-11Fixed #27722 -- Reallowed using django.Template in {% include %}.Tim Graham
2017-02-07Refs #27795 -- Removed force_text from the template layerClaude Paroz
Thanks Tim Graham for the review.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-06Fixed #27783 -- Switched VariableDoesNotExist.__str__() to repr() context.Ryan O’Hara
Using __str__() and then repr'ing the result looks strange and can lead to recursive rendering of forms.
2017-02-04Refs #27546 -- Removed hardcoded class names in __repr__() methods.Mads Jensen
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-30Refs #23919 -- Assumed request COOKIES and META are strClaude Paroz
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python ↵Claude Paroz
equivalents Thanks Tim Graham for the review.
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-25Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.Tim Graham
2017-01-25Removed unused variables that are overwritten.Mads Jensen
2017-01-23Assumed iri_to_uri always returns a stringClaude Paroz
Thanks Tim Graham for the review.
2017-01-22Refs #23919 -- Replaced six.reraise by raiseClaude Paroz
2017-01-21Refs #23919 -- Removed re.U and re.UNICODE (default on Python 3).Mariusz Felisiak
2017-01-21Refs #5748 -- Removed obsolete Python/Windows workarounds in floatformat filter.Tim Graham
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Replaced io.open() with open().Aymeric Augustin
io.open() is an alias for open() on Python 3.
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
__ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #24046 -- Removed mark_for_escaping() per deprecation timeline.Tim Graham
2017-01-17Refs #26263 -- Removed deprecated Context.has_key().Tim Graham
2017-01-17Refs #25466 -- Removed aliases for LoaderOrigin and StringOrigin.Tim Graham
Per deprecation timeline.