Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed filesizeformat tag's bytes variable to avoid ↵ | Sambhav Satija | 2015-10-27 | 1 | -16/+16 |
| | | | | clash with builtin. | ||||
* | Fixed #25441 -- Added support for negative filesize to ↵ | Sambhav Satija | 2015-10-27 | 1 | -0/+6 |
| | | | | | | filesizeformat template filter. Thanks Andrey Yakovlev for the initial patch. | ||||
* | Fixed #25610 -- Reverted removal of request.current_app ↵ | Marten Kenbeek | 2015-10-26 | 1 | -2/+5 |
| | | | | | | | in {% url %} tag. The deprecation removal in 5e450c52aafb62b9d83c8ac08892e0b92cbec4aa removed too much. | ||||
* | Renamed deprecated logger.warn to warning | Claude Paroz | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | Fixed #25423 -- Made error message for unknown template ↵ | Pindi Albert | 2015-10-05 | 1 | -2/+7 |
| | | | | tag more helpful. | ||||
* | Fixed #25466 -- Added backwards compatibility aliases ↵ | Tim Graham | 2015-09-30 | 3 | -1/+21 |
| | | | | | | for LoaderOrigin and StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class. | ||||
* | Refs #22384 -- Removed obsolete code for the removal of ↵ | Tim Graham | 2015-09-29 | 1 | -57/+19 |
| | | | | reversing by dotted path. | ||||
* | Added django.template.engine.Engine.render_to_string() ↵ | Tim Graham | 2015-09-24 | 1 | -6/+4 |
| | | | | docstring. | ||||
* | Refs #23913 -- Removed support for a single equals sign ↵ | Tim Graham | 2015-09-24 | 1 | -12/+1 |
| | | | | | | in {% if %} tag. Per deprecation timeline. | ||||
* | Made template response APIs enforce the use of dict and ↵ | Tim Graham | 2015-09-24 | 1 | -53/+2 |
| | | | | | | backend-specific template objects. Per deprecation timeline; refs 79deb6a0716e554cac5308e86f5754f19ad436dc. | ||||
* | Removed support for passing a context to a generic ↵ | Tim Graham | 2015-09-24 | 1 | -32/+2 |
| | | | | | | Template.render(). Per deprecation timeline; refs a3e783fe11dd25bbf84bfb6201186566ed473506. | ||||
* | Removed template.loader.BaseLoader per deprecation timeline. | Tim Graham | 2015-09-24 | 3 | -31/+1 |
| | |||||
* | Removed deprecated TEMPLATE_* settings per deprecation ↵ | Tim Graham | 2015-09-24 | 1 | -20/+0 |
| | | | | timeline. | ||||
* | Removed dictionary and context_instance parameters for ↵ | Tim Graham | 2015-09-24 | 2 | -83/+12 |
| | | | | | | render functions. Per deprecation timeline. | ||||
* | Removed dirs parameter in template engine methods and ↵ | Tim Graham | 2015-09-24 | 3 | -70/+15 |
| | | | | | | related funtions. Per deprecation timeline. | ||||
* | Removed current_app argument to render() and ↵ | Tim Graham | 2015-09-24 | 3 | -59/+7 |
| | | | | | | TemplateResponse(). Per deprecation timeline. | ||||
* | Refs #13408 -- Made unpacking mismatch an exception in ↵ | Tim Graham | 2015-09-24 | 1 | -4/+2 |
| | | | | {% for %} tag per deprecation timeline. | ||||
* | Refs #22933 -- Removed template.resolve_variable() per ↵ | Tim Graham | 2015-09-24 | 2 | -18/+0 |
| | | | | deprecation timeline. | ||||
* | Refs #23269 -- Removed the removetags template tag and ↵ | Tim Graham | 2015-09-24 | 1 | -8/+1 |
| | | | | related functions per deprecation timeline. | ||||
* | Refs #23261 -- Removed old style list syntax for ↵ | Tim Graham | 2015-09-24 | 1 | -39/+0 |
| | | | | | | unordered_list filter Per deprecation timeline. | ||||
* | Refs #24451 -- Removed comma-separated {% cycle %} ↵ | Tim Graham | 2015-09-24 | 1 | -9/+0 |
| | | | | syntax per deprecation timeline. | ||||
* | Refs #24022 -- Removed the ssi tag per deprecation timeline. | Tim Graham | 2015-09-24 | 3 | -86/+2 |
| | |||||
* | Fixed #25373 -- Added warning logging for exceptions ↵ | Nick Johnson | 2015-09-22 | 1 | -0/+10 |
| | | | | during {% include %} tag rendering. | ||||
* | Refs #18773 -- Improved template variable exception ↵ | Nick Johnson | 2015-09-22 | 1 | -2/+7 |
| | | | | logging message. | ||||
* | Fixed #25404 -- Added line numbers to ↵ | Dave Smith | 2015-09-15 | 1 | -6/+16 |
| | | | | | | | TemplateSyntaxError strings. This makes it much easier to diagnose a test failure when all you have is the stack trace from an uncaught TemplateSyntaxError. | ||||
* | Fixed #24765 -- Allowed template context updates to ↵ | Buddy Lindsey, Jr | 2015-09-11 | 1 | -1/+9 |
| | | | | flatten a Context. | ||||
* | Refs #24235 -- Removed unused is_usable attribute from ↵ | Tim Graham | 2015-09-05 | 1 | -1/+0 |
| | | | | base template Loader. | ||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 2 | -8/+0 |
| | |||||
* | Fixed #24257 -- Corrected i18n handling of percent signs. | Doug Beck | 2015-08-12 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%". | ||||
* | Fixed #24127 -- Changed the default current_app to the ↵ | Marten Kenbeek | 2015-07-27 | 2 | -2/+13 |
| | | | | | | | current namespace. Changed the url template tag to use request.resolver_match.namespace as a default for the current_app argument if request.current_app is not set. | ||||
* | Corrected HTML-escaping behaviour of url template tag. | Luke Plant | 2015-07-21 | 1 | -1/+3 |
| | | | | | | Due to the URL encoding applied by the tag for all parameters that might be partly controllable by an end-user, there are no XSS/security problems caused by this bug, only invalid HTML. | ||||
* | Fixed #25120 -- Deprecated egg template loader. | Tim Graham | 2015-07-16 | 1 | -0/+2 |
| | |||||
* | Removed some u string prefixes in code comments. | Tim Graham | 2015-07-06 | 1 | -7/+7 |
| | |||||
* | Removed unused variable ↵ | Tim Graham | 2015-07-06 | 1 | -3/+0 |
| | | | | | | template.base.ALLOWED_VARIABLE_CHARS. Unused since 5d863f1fbd26537a8bca2920bc591279d15fbdf1. | ||||
* | Used %r in the TextNode repr to show newlines better. | Ned Batchelder | 2015-06-30 | 1 | -2/+2 |
| | |||||
* | Removed unnecessary return | Andriy Sokolovskiy | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | Removed unreachable code | Andriy Sokolovskiy | 2015-06-29 | 1 | -1/+0 |
| | |||||
* | Fixed #25018 -- Changed simple_tag to apply ↵ | Luke Plant | 2015-06-29 | 1 | -0/+3 |
| | | | | | | | | | conditional_escape() to its output. 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. | ||||
* | Sorted imports in __init__.py files. | Tim Graham | 2015-06-27 | 1 | -9/+8 |
| | |||||
* | Fixed #25031 -- Fixed a regression in the unordered_list ↵ | Noam | 2015-06-27 | 1 | -15/+20 |
| | | | | template filter. | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 18 | -70/+71 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | 2015-06-15 | 4 | -8/+10 |
| | |||||
* | Fixed #23516 -- Added caching of include tag Template ↵ | Matthew Somerville | 2015-06-06 | 1 | -2/+14 |
| | | | | | | | objects This also speeds up for loops that render the same template multiple times. | ||||
* | Fixed #24847 -- Prevented items set on a RequestContext ↵ | Paweł Marczewski | 2015-05-27 | 1 | -1/+7 |
| | | | | from being lost. | ||||
* | Fixed #17085, #24783 -- Refactored template library ↵ | Preston Timmons | 2015-05-21 | 8 | -434/+478 |
| | | | | | | | | registration. * 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. | ||||
* | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | 2015-05-13 | 2 | -3/+3 |
| | |||||
* | Moved engine-related exceptions to ↵ | Preston Timmons | 2015-05-07 | 14 | -57/+78 |
| | | | | | | | | django.template.exceptions. 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. | ||||
* | Fixed #24119, #24120 -- Formalized debug integration for ↵ | Preston Timmons | 2015-05-07 | 5 | -28/+112 |
| | | | | template backends. | ||||
* | Fixed #24685 -- Fixed check for template name unicity. | Aymeric Augustin | 2015-05-03 | 1 | -1/+3 |
| | | | | Thanks Preston Timmons for the report. | ||||
* | Fixed #15053 -- Enabled recursive template loading. | Preston Timmons | 2015-04-22 | 10 | -88/+347 |
| |