| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-08-12 | Fixed #24257 -- Corrected i18n handling of percent signs. | Doug Beck | |
| 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 "%%". | |||
| 2015-08-08 | Refs #25236 -- Removed ifequal/ifnotequal usage. | Tim Graham | |
| 2015-07-27 | Fixed #24127 -- Changed the default current_app to the current namespace. | Marten Kenbeek | |
| 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. | |||
| 2015-07-21 | Corrected HTML-escaping behaviour of url template tag. | Luke Plant | |
| 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. | |||
| 2015-07-01 | Fixed #21695 -- Added asvar option to blocktrans. | Matthew Somerville | |
| Thanks Bojan Mihelac for the initial patch. | |||
| 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-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-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 #12199 -- Added the ability to use "as" with the firstof template tag. | Craig Oldford | |
| 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-07 | Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax. | Tim Graham | |
| 2015-03-02 | Fixed #24372 - Replaced TokenParser usage with traditional parsing. | 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 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-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-18 | Removed usage of deprecated removetags in a template test. | Tim Graham | |
| 2015-01-17 | Removed ssi/url tags from future per deprecation timeline; refs #21939. | Tim Graham | |
| 2015-01-12 | Fixed test from refs #23913 when running tests in reverse. | Tim Graham | |
| 2015-01-11 | Fixed #23913 -- Deprecated the `=` comparison in `if` template tag. | Ola Sitarska | |
| 2015-01-05 | Fixed #24022 -- Deprecated the ssi tag. | Preston Timmons | |
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-28 | Isolated template tests from Django settings. | Aymeric Augustin | |
| 2014-12-06 | Refs #23890 -- Restored silencing of numpy DeprecationWarnings in template ↵ | Tim Graham | |
| tests. | |||
| 2014-12-06 | Fixed #23958 -- Rewrote filter tests as unit tests. | Preston Timmons | |
| 2014-12-03 | Converted recently refactored templates tests to SimpleTestCase. | Ramiro Morales | |
| These test methods don't need DB setup/teardown. Refs #23768 and b872134b. | |||
| 2014-12-03 | Fixed "no such test method" error in template_tests. | Berker Peksag | |
| Without this patch, you couldn't run an individual test case in template_tests. Refs #23768 | |||
| 2014-12-02 | Fixed #23768 -- Rewrote template tests as unit tests. | Preston Timmons | |
