Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/template_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved {% include %} implementationCurtis Maloney2013-08-302-0/+41
| | | | | | | | | | | | 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
* Fixed #7116 -- Optimize RequestContext constructionCurtis Maloney2013-08-291-0/+9
|
* Fixed #17356 -- Allowed {% include %} to render compiled ↵Curtis Maloney2013-08-291-0/+11
| | | | | | templates Reviewed by Loic Bistuer and Tim Graham.
* Fixed #20693 -- Add timezone support to built-in time ↵Warren Smith2013-08-261-0/+7
| | | | | | | | | filter. Modified django.utils.dateformat module, moving __init__() method and timezone-related format methods from DateFormat class to TimeFormat base class. Modified timezone-related format methods to return an empty string when timezone is inappropriate for input value.
* Added further fixes, tests for #19949/f33db5a09a.Ramiro Morales2013-08-261-2/+8
| | | | Thanks Susan Tan. Refs #19949.
* Fixed 19949 -- Cached template loader now caches ↵SusanTan2013-08-241-0/+11
| | | | | | | TemplateDoesNotExist Thanks @timgraham and @jdunck for the code reviews and Kronuz for bug report and initial patch.
* Fixed #20709 -- Allowed {% widthratio %} to accept an ↵Jonathan Slenders2013-08-141-0/+7
| | | | | | "as" parameter. Thanks clay.evil@ for the suggestion.
* Fixed #17778 -- Prevented class attributes on context ↵Tim Graham2013-08-121-1/+10
| | | | | | from resolving as template variables. Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test.
* Removed most of absolute_import importsClaude Paroz2013-07-294-7/+3
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed a number of minor misspellings.Julien Phalip2013-07-281-1/+1
|
* Fixed handling of template loader tests.Carl Meyer2013-07-262-30/+27
| | | | Previously, the CachedLoaderTests were never run at all.
* Allowed Context.push to behave as a context mananger.Curtis Maloney2013-07-171-0/+9
| | | | Thanks Loic Bistuer for the review.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-019-11/+20
| | | | Refs #20680.
* Advanced deprecation warnings for Django 1.7.Aymeric Augustin2013-06-291-1/+1
|
* Fixed #20650 -- Fixed {% filter %} incorrectly accepting ↵Baptiste Mispelon2013-06-251-0/+4
| | | | | | | 'escape' as argument Thanks to grzesiof for the report and to loic84 and Alex Gaynor for the review.
* Fixed #20502 (again) -- More i18n cache flush in testsClaude Paroz2013-06-061-2/+9
| | | | Thanks Timo Graham for noticing the failures.
* Fixed #18169 -- NoReverseMatch not silenced if from ↵Anssi Kääriäinen2013-05-313-0/+23
| | | | block.super
* Fixed #20246 -- Added non-breaking spaces between values ↵Emil Stenström2013-05-181-29/+30
| | | | an units
* Fixed #17365, #17366, #18727 -- Switched to discovery ↵Carl Meyer2013-05-111-9/+0
| | | | | | | | | | | test runner. 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.
* Fixed template_tests so discovery doesn't directly find ↵Preston Timmons2013-04-122-1/+1
| | | | tests that require setuptools.
* Modified template_tests for unittest2 discovery.Preston Timmons2013-04-1210-11/+11
|
* Fixed #20130 -- Regression in {% cache %} template tag.Baptiste Mispelon2013-03-301-0/+5
|
* Fixed #13260 -- Quoted arguments interpolated in URLs in ↵Aymeric Augustin2013-03-181-3/+3
| | | | reverse.
* Fixed #19915 - Made blocktrans tag honor ↵matiasb2013-03-031-1/+4
| | | | | | TEMPLATE_STRING_IF_INVALID. Thanks Natalia Bidart for the report and Matías Bordese for the fix.
* Fixed a PendingDeprecationWarning in template_tests.Aymeric Augustin2013-02-271-1/+1
|
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-2636-0/+3846
modeltests/regressiontests.