summaryrefslogtreecommitdiff
path: root/tests/template_tests
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-10-18[2.0.x] Refs #23260 -- Tested nested generator input to unordered_list ↵Jonas Haag
template filter. Backport of b21b1b10af0bbe0498193881520efb02897bd444 from master
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-19Refs #28502 -- Completed stringformat filter testsSrinivas Reddy Thatiparthy
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-13Fixed #28071 -- Fixed {% extends %} origin history.John D'Ambrosio
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-11Fixed #28129 -- Allowed custom template tags to use keyword-only arguments.Alexander Allakhverdiyev
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-31Added tests for template's Engine.get_default().Carlton Gibson
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-03-15Fixed #27882 -- Allowed {% cache %} to cache indefinitely.Bo Marchman
2017-02-23Refs #23919 -- Used yield from.Vytis Banaitis
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-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-04Added tests for various __repr__() methods.Mads Jensen
2017-02-03Fixed spelling of "nonexistent".Tim Graham
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-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-21Added a missing floatformat test and simplified another.Tim Graham
2017-01-20Refs #23919 -- Removed str_prefix usageClaude Paroz
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 -- Simplified assertRaisesRegex()'s that accounted for Python 2.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
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 six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
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 #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
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 #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline.Tim Graham
2017-01-17Refs #15053 -- Removed support for non-recursive template loading.Tim Graham
Per deprecation timeline.
2017-01-17Refs #18651 -- Removed assignment_tag per deprecation timeline.Tim Graham
2017-01-06Fixed #24423 -- Reorganized i18n tag tests.Andy Craze
2016-12-30Fixed #26478 -- Made {% for %} reject invalid unpacking vars with quotes or ↵Tim Martin
vertical bars.
2016-12-30Used assertRaisesMessage() in {% for %} tests.Tim Graham
2016-12-20Fixed #27584 -- Fixed display of render time template errors.Preston Timmons
2016-12-19Refs #25484 -- Made non-staticfiles {% static %} tag quote its output.Tim Graham
2016-12-19Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles.Tim Graham
2016-12-17Fixed #25484 -- Made {% static %} render escaped URLs.alix-
2016-12-14Fixed #27598 -- Allowed specifying directories for a filesystem template loader.Tim Graham
Thanks Carl Meyer for review.
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham