| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-07-16 | Fixed #25120 -- Deprecated egg template loader. | Tim Graham | |
| 2015-07-01 | Fixed #21695 -- Added asvar option to blocktrans. | Matthew Somerville | |
| Thanks Bojan Mihelac for the initial patch. | |||
| 2015-06-30 | Used %r in the TextNode repr to show newlines better. | Ned Batchelder | |
| 2015-06-29 | Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output. | Luke Plant | |
| This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review. | |||
| 2015-06-27 | Fixed #25031 -- Fixed a regression in the unordered_list template filter. | Noam | |
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-06 | Fixed #23516 -- Added caching of include tag Template objects | Matthew Somerville | |
| This also speeds up for loops that render the same template multiple times. | |||
| 2015-06-02 | Fixed #24230 -- Added translated language name for i18n template tag/filter. | Tomáš Ehrlich | |
| 2015-05-27 | Fixed #24847 -- Prevented items set on a RequestContext from being lost. | Paweł Marczewski | |
| 2015-05-21 | Fixed #17085, #24783 -- Refactored template library registration. | Preston Timmons | |
| * Converted the ``libraries`` and ``builtins`` globals of ``django.template.base`` into properties of the Engine class. * Added a public API for explicit registration of libraries and builtins. | |||
| 2015-05-20 | Refs #24652 -- Converted a template test to avoid executing queries. | Simon Charette | |
| 2015-04-28 | Fixed template_tests failure on Windows. | Tim Graham | |
| 2015-04-22 | Fixed #15053 -- Enabled recursive template loading. | Preston Timmons | |
| 2015-04-20 | Updated template tests to create their own engine. | Preston Timmons | |
| This continues work to treat Django templates as a library. | |||
| 2015-04-14 | Fixed #24603 -- Allowed Context.update() to be used as a context manager. | Tommy Beadle | |
| 2015-04-14 | Fixed #12199 -- Added the ability to use "as" with the firstof template tag. | Craig Oldford | |
| 2015-04-01 | Fixed #23441, #24555 -- Improved the behavior of InclusionNode. | Preston Timmons | |
| 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. | |||
| 2015-03-27 | Fixed #18773 -- Added logging for template variable resolving | Caroline Simpson | |
| Added a django.template logger without a default handler. Added logging if there is an exception while resolving variables in a template. | |||
| 2015-03-20 | Cleaned up the template debug implementation. | Preston Timmons | |
| This patch does three major things: * Merges the django.template.debug implementation into django.template.base. * Simplifies the debug implementation. The old implementation copied debug information to every token and node. The django_template_source attribute was set in multiple places, some quite hacky, like django.template.defaulttags.ForNode. Debug information is now annotated in two high-level places: * Template.compile_nodelist for errors during parsing * Node.render_annotated for errors during rendering These were chosen because they have access to the template and context as well as to all exceptions that happen during either the parse or render phase. * Moves the contextual line traceback information creation from django.views.debug into django.template.base.Template. The debug views now only deal with the presentation of the debug information. | |||
| 2015-03-16 | Fixed #24493 -- Added BaseContext.setdefault() | Preston Timmons | |
| 2015-03-10 | Fixed #24471 -- Enhanced urlize regex to exclude quotes and angle brackets. | Tim Graham | |
| 2015-03-10 | Fixed escaping regression in urlize filter. | Tim Graham | |
| Now that the URL is always unescaped as of refs #22267, we should re-escape it before inserting it into the anchor. | |||
| 2015-03-09 | Fixed #24464 -- Made built-in HTML template filter functions escape their ↵ | Erik Romijn | |
| input by default. This may cause some backwards compatibility issues, but may also resolve security issues in third party projects that fail to heed warnings in our documentation. Thanks Markus Holtermann for help with tests and docs. | |||
| 2015-03-07 | Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax. | Tim Graham | |
| 2015-03-06 | Fixed urlize regression with entities in query strings | Claude Paroz | |
| Refs #22267. Thanks Shai Berger for spotting the issue and Tim Graham for the initial patch. | |||
| 2015-03-05 | Fixed test_notafile_error to pass on Windows. | Preston Timmons | |
| This test failed because a different error code is raised on Windows when opening a directory. Since the particular message isn't as important to this test as the fact that the original IOError is reraised, this fixes the test by making the assertion more generic. | |||
| 2015-03-03 | Fixed #24399 -- Made filesystem loaders use more specific exceptions. | Preston Timmons | |
| 2015-03-02 | Fixed #24372 - Replaced TokenParser usage with traditional parsing. | Preston Timmons | |
| 2015-03-02 | Fixed #24409 -- Combined the app_directories and filesystem loader ↵ | Preston Timmons | |
| implementation. Besides the directories they look in, these two loaders are functionally the same. This removes unnecessary code duplication between the two. | |||
| 2015-02-24 | Cleaned up template directory handling in template tests. | Preston Timmons | |
| 2015-02-24 | Combined TemplateTests and TemplateRegressionTests. | Preston Timmons | |
| 2015-02-24 | Moved test_token_smart_split into ParserTests. | Preston Timmons | |
| 2015-02-24 | Moved ifchanged tests into syntax_tests/test_if_changed.py. | Preston Timmons | |
| 2015-02-24 | Moved cache tests into syntax_tests/test_cache.py. | Preston Timmons | |
| 2015-02-24 | Moved RequestContextTests into test_context. | Preston Timmons | |
| 2015-02-24 | Moved TemplateTagLoading cases into test_custom. | Preston Timmons | |
| 2015-02-24 | Moved include tests into syntax_tests/test_include.py. | Preston Timmons | |
| 2015-02-24 | Moved ssi tests into syntax_tests/test_ssi.py. | Preston Timmons | |
| 2015-02-24 | Cleaned up template loader tests. | Preston Timmons | |
| 2015-02-19 | Set context.template instead of context.engine while rendering. | Aymeric Augustin | |
| This opens more possibilities, like accessing context.template.origin. It also follows the chain of objects instead of following a shortcut. | |||
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-15 | Deprecated TEMPLATE_DEBUG setting. | Aymeric Augustin | |
| 2015-02-14 | Fixed #24338 -- Accepted Template wrapper in {% extends %}. | Aymeric Augustin | |
| Explicitly checking for django.template.Template subclasses is preferrable to duck-typing because both the django.template.Template and django.template.backends.django.Template have a render() method. Thanks spectras for the report. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-05 | Fixed #24273 -- Allowed copying RequestContext more than once. | Aymeric Augustin | |
| Thanks Collin Anderson for the report. | |||
| 2015-02-04 | Cleaned up formatting in template_tests.test_custom. | Preston Timmons | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2015-02-03 | Fixed #18651 -- Enabled optional assignments for simple_tag(). | Preston Timmons | |
| 2015-02-03 | Fixed #24168 -- Allowed selecting a template engine in a few APIs. | Aymeric Augustin | |
| 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. | |||
| 2015-01-18 | Removed usage of deprecated removetags in a template test. | Tim Graham | |
