| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-07-16 | Fixed #25120 -- Deprecated egg template loader. | Tim Graham | |
| 2015-07-06 | Removed some u string prefixes in code comments. | Tim Graham | |
| 2015-07-06 | Removed unused variable template.base.ALLOWED_VARIABLE_CHARS. | Tim Graham | |
| Unused since 5d863f1fbd26537a8bca2920bc591279d15fbdf1. | |||
| 2015-06-30 | Used %r in the TextNode repr to show newlines better. | Ned Batchelder | |
| 2015-06-29 | Removed unnecessary return | Andriy Sokolovskiy | |
| 2015-06-29 | Removed unreachable code | Andriy Sokolovskiy | |
| 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 | Sorted imports in __init__.py files. | Tim Graham | |
| 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-15 | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | |
| 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-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-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-05-06 | Moved engine-related exceptions to django.template.exceptions. | Preston Timmons | |
| With the introduction of multiple template engines these exceptions are no longer DTL-specific. It makes more sense for them to be moved out of DTL-related modules. | |||
| 2015-05-06 | Fixed #24119, #24120 -- Formalized debug integration for template backends. | Preston Timmons | |
| 2015-05-03 | Fixed #24685 -- Fixed check for template name unicity. | Aymeric Augustin | |
| Thanks Preston Timmons for the report. | |||
| 2015-04-22 | Fixed #15053 -- Enabled recursive template loading. | Preston Timmons | |
| 2015-04-18 | Removed cases of six.iter* wrapped in a list() | Curtis Maloney | |
| There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases. | |||
| 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-03 | Updated docstring for firstof tag to reflect new auto-escaping behavior. | Preston Timmons | |
| 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-04-01 | Fixed #24538 -- Allowed self in Jinja context | Tim Heap | |
| Rendering a Jinja template with self in the context threw an error. While self is a reserved variable in Jinja, including self in the context is not an error, so Django should respect that. | |||
| 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-19 | Fixed typo in escape_filter() docstring. | Jon Walsh | |
| 2015-03-16 | Fixed #24493 -- Added BaseContext.setdefault() | Preston Timmons | |
| 2015-03-13 | Fed tuples to startswith when appropriate | Claude Paroz | |
| 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-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 | Used dict comprehension in URLNode | Corey Farwell | |
| 4468c08d7 replaced a lot of the old `dict()` comprehensions with the new style, but missed this one. | |||
| 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-20 | Removed a non-obvious side-effect of assigning Context.template. | Aymeric Augustin | |
| Explicit is better than implicit. | |||
| 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-18 | Refs #24324 -- Fixed crash in {% debug %} tag on Python 2. | Tim Graham | |
| If Django is installed in a path that contains non-ASCII characters, the tag failed with UnicodeDecodeError. | |||
| 2015-02-17 | Refs #24324 -- Fixed get_app_template_dirs() UnicodeDecodeError on Python 2. | Tim Graham | |
| The function implemented most of upath(), but skipped the check for strings that are already unicode. | |||
| 2015-02-16 | Removed unnecessary __init__ definition from DebugLexer. | Preston Timmons | |
| 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-10 | Split DTL context creation into its own function. | Aymeric Augustin | |
| This reduces the length of rope RequestContext gives users to hang themselves with. Thanks Alex Hill for the report and Tim Graham for the review. | |||
| 2015-02-08 | Simplified the lazy CSRF token implementation in csrf context processor. | Alex Gaynor | |
| This significantly improves performance on PyPy. The previous implementation would generate a new class on every single request, which is relatively slow. | |||
| 2015-02-06 | Fixed E265 comment style | Collin Anderson | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-05 | Fixed #24265 -- Preserved template backend loading exceptions. | Aymeric Augustin | |
| If importing or initializing a template backend fails, attempting to access this template backend again must raise the same exception. | |||
| 2015-02-05 | Fixed #24273 -- Allowed copying RequestContext more than once. | Aymeric Augustin | |
| Thanks Collin Anderson for the report. | |||
| 2015-02-04 | Fixed #24235 -- Removed is_usable attribute from template loaders. | Preston Timmons | |
