summaryrefslogtreecommitdiff
path: root/tests/template_tests/tests.py
AgeCommit message (Collapse)Author
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-22Fixed #21307 -- Moved TransRealMixin to django.test.utils.Ramiro Morales
2013-10-21Removed some direct settings manipulations in tests; refs #21230.Bouke Haarsma
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-09-10Prevented arbitrary file inclusion with {% ssi %} tag and relative paths.Tim Graham
Thanks Rainer Koirikivi for the report and draft patch. This is a security fix; disclosure to follow shortly.
2013-09-08Fix #20745: Don't silence TypeError raised inside templates.Baptiste Mispelon
Thanks to robin for the report and claudep for the review.
2013-09-06Fixed #16096 -- Added origin attribute to template instances.Preston Timmons
Thanks jdunck for the suggestion.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-30Improved {% include %} implementationCurtis Maloney
Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147
2013-08-29Fixed #7116 -- Optimize RequestContext constructionCurtis Maloney
2013-08-29Fixed #17356 -- Allowed {% include %} to render compiled templatesCurtis Maloney
Reviewed by Loic Bistuer and Tim Graham.
2013-08-14Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.Jonathan Slenders
Thanks clay.evil@ for the suggestion.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-25Fixed handling of template loader tests.Carl Meyer
Previously, the CachedLoaderTests were never run at all.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-06-25Fixed #20650 -- Fixed {% filter %} incorrectly accepting 'escape' as argumentBaptiste Mispelon
Thanks to grzesiof for the report and to loic84 and Alex Gaynor for the review.
2013-06-06Fixed #20502 (again) -- More i18n cache flush in testsClaude Paroz
Thanks Timo Graham for noticing the failures.
2013-06-01Fixed #18169 -- NoReverseMatch not silenced if from block.superAnssi Kääriäinen
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
2013-04-12Fixed template_tests so discovery doesn't directly find tests that require ↵Preston Timmons
setuptools.
2013-04-12Modified template_tests for unittest2 discovery.Preston Timmons
2013-03-30Fixed #20130 -- Regression in {% cache %} template tag.Baptiste Mispelon
2013-03-18Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.Aymeric Augustin
2013-03-03Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID.matiasb
Thanks Natalia Bidart for the report and Matías Bordese for the fix.
2013-02-27Fixed a PendingDeprecationWarning in template_tests.Aymeric Augustin
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner