Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/template_tests/templates
Commit message (Collapse)AuthorAgeFilesLines
* Removed current_app argument to render() and ↵Tim Graham2015-09-241-1/+0
| | | | | | TemplateResponse(). Per deprecation timeline.
* Fixed #23441, #24555 -- Improved the behavior of ↵Preston Timmons2015-04-013-0/+5
| | | | | | | | | | | InclusionNode. This change: * Makes the InclusionNode cache-safe by removing render-time side effects to its nodelist. * Ensures the render_context stack is properly scoped and reset by updating the render call to use Template.render rather than Nodelist.render.
* Cleaned up template loader tests.Preston Timmons2015-02-241-0/+1
|
* Fixed #24168 -- Allowed selecting a template engine in a ↵Aymeric Augustin2015-02-031-0/+1
| | | | | | | | | | | | few APIs. Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review.
* Added newlines to the ends of CSS, HTML, and JavaScript ↵Trey Hunner2014-08-132-2/+2
| | | | files missing them.
* Fixed #21741 -- Fixed render_to_string to stop pushing ↵Baptiste Mispelon2014-02-221-0/+2
| | | | | | | empty dictionaries to its Context Thanks to kezabelle for the report and original patch and to numerodix for his improved patch.
* Fixed #21460 -- Reenabled proper template precedence in ↵Pablo Martín2013-11-221-0/+1
| | | | | | find_template Refs #20806. Thanks Unai Zalakain for the review.
* Improved {% include %} implementationCurtis Maloney2013-08-301-0/+7
| | | | | | | | | | | | 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 #18169 -- NoReverseMatch not silenced if from ↵Anssi Kääriäinen2013-05-312-0/+14
| | | | block.super
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-2612-0/+13
modeltests/regressiontests.