Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25610 -- Reverted removal of request.current_app ↵ | Marten Kenbeek | 2015-10-26 | 1 | -0/+20 |
| | | | | | | | in {% url %} tag. The deprecation removal in 5e450c52aafb62b9d83c8ac08892e0b92cbec4aa removed too much. | ||||
* | Refs #23913 -- Removed support for a single equals sign ↵ | Tim Graham | 2015-09-24 | 1 | -44/+6 |
| | | | | | | in {% if %} tag. Per deprecation timeline. | ||||
* | Refs #13408 -- Made unpacking mismatch an exception in ↵ | Tim Graham | 2015-09-24 | 1 | -34/+18 |
| | | | | {% for %} tag per deprecation timeline. | ||||
* | Refs #22384 -- Removed the ability to reverse URLs by ↵ | Tim Graham | 2015-09-24 | 1 | -50/+19 |
| | | | | dotted path per deprecation timeline. | ||||
* | Refs #24451 -- Removed comma-separated {% cycle %} ↵ | Tim Graham | 2015-09-24 | 1 | -33/+1 |
| | | | | syntax per deprecation timeline. | ||||
* | Refs #24022 -- Removed the ssi tag per deprecation timeline. | Tim Graham | 2015-09-24 | 1 | -112/+0 |
| | |||||
* | Refs #22306 -- Removed cycle/firstof template tags from ↵ | Tim Graham | 2015-09-24 | 2 | -20/+8 |
| | | | | | | "future". Per deprecation timeline. | ||||
* | Fixed #25404 -- Added line numbers to ↵ | Dave Smith | 2015-09-15 | 2 | -5/+14 |
| | | | | | | | 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 #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 4 | -4/+12 |
| | |||||
* | Fixed #24257 -- Corrected i18n handling of percent signs. | Doug Beck | 2015-08-12 | 2 | -0/+19 |
| | | | | | | | | | | | | | | | 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 "%%". | ||||
* | Refs #25236 -- Removed ifequal/ifnotequal usage. | Tim Graham | 2015-08-08 | 2 | -5/+5 |
| | |||||
* | Fixed #24127 -- Changed the default current_app to the ↵ | Marten Kenbeek | 2015-07-27 | 1 | -3/+31 |
| | | | | | | | 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/+10 |
| | | | | | | 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 #21695 -- Added asvar option to blocktrans. | Matthew Somerville | 2015-07-01 | 1 | -0/+35 |
| | | | | Thanks Bojan Mihelac for the initial patch. | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 6 | -48/+48 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Fixed #23516 -- Added caching of include tag Template ↵ | Matthew Somerville | 2015-06-06 | 1 | -0/+14 |
| | | | | | | | objects This also speeds up for loops that render the same template multiple times. | ||||
* | Fixed #24230 -- Added translated language name for i18n ↵ | Tomáš Ehrlich | 2015-06-02 | 1 | -10/+27 |
| | | | | template tag/filter. | ||||
* | Fixed #17085, #24783 -- Refactored template library ↵ | Preston Timmons | 2015-05-21 | 13 | -11/+33 |
| | | | | | | | | 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. | ||||
* | Updated template tests to create their own engine. | Preston Timmons | 2015-04-20 | 3 | -74/+46 |
| | | | | This continues work to treat Django templates as a library. | ||||
* | Fixed #12199 -- Added the ability to use "as" with the ↵ | Craig Oldford | 2015-04-14 | 1 | -0/+7 |
| | | | | firstof template tag. | ||||
* | Cleaned up the template debug implementation. | Preston Timmons | 2015-03-20 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Fixed #24451 -- Deprecated comma-separated {% cycle %} ↵ | Tim Graham | 2015-03-07 | 2 | -2/+8 |
| | | | | syntax. | ||||
* | Fixed #24372 - Replaced TokenParser usage with ↵ | Preston Timmons | 2015-03-03 | 1 | -0/+43 |
| | | | | traditional parsing. | ||||
* | Moved ifchanged tests into syntax_tests/test_if_changed.py. | Preston Timmons | 2015-02-24 | 1 | -0/+35 |
| | |||||
* | Moved cache tests into syntax_tests/test_cache.py. | Preston Timmons | 2015-02-24 | 1 | -2/+46 |
| | |||||
* | Moved include tests into syntax_tests/test_include.py. | Preston Timmons | 2015-02-24 | 1 | -2/+131 |
| | |||||
* | Moved ssi tests into syntax_tests/test_ssi.py. | Preston Timmons | 2015-02-24 | 1 | -0/+32 |
| | |||||
* | Refs #24324 -- Fixed Python 2 test failures when path to ↵ | Tim Graham | 2015-02-18 | 1 | -0/+2 |
| | | | | Django source contains non-ASCII characters. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 11 | -14/+11 |
| | |||||
* | Removed usage of deprecated removetags in a template test. | Tim Graham | 2015-01-19 | 1 | -6/+4 |
| | |||||
* | Removed ssi/url tags from future per deprecation ↵ | Tim Graham | 2015-01-17 | 1 | -5/+3 |
| | | | | timeline; refs #21939. | ||||
* | Fixed test from refs #23913 when running tests in reverse. | Tim Graham | 2015-01-12 | 1 | -0/+2 |
| | |||||
* | Fixed #23913 -- Deprecated the `=` comparison in `if` ↵ | Ola Sitarska | 2015-01-11 | 1 | -1/+43 |
| | | | | template tag. | ||||
* | Fixed #24022 -- Deprecated the ssi tag. | Preston Timmons | 2015-01-06 | 1 | -1/+2 |
| | |||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 6 | -128/+85 |
| | |||||
* | Isolated template tests from Django settings. | Aymeric Augustin | 2014-12-28 | 36 | -798/+780 |
| | |||||
* | Refs #23890 -- Restored silencing of numpy ↵ | Tim Graham | 2014-12-06 | 1 | -0/+8 |
| | | | | DeprecationWarnings in template tests. | ||||
* | Fixed #23958 -- Rewrote filter tests as unit tests. | Preston Timmons | 2014-12-06 | 37 | -242/+36 |
| | |||||
* | Converted recently refactored templates tests to ↵ | Ramiro Morales | 2014-12-04 | 36 | -73/+73 |
| | | | | | | | | SimpleTestCase. These test methods don't need DB setup/teardown. Refs #23768 and b872134b. | ||||
* | Fixed "no such test method" error in template_tests. | Berker Peksag | 2014-12-03 | 1 | -0/+1 |
| | | | | | | | Without this patch, you couldn't run an individual test case in template_tests. Refs #23768 | ||||
* | Fixed #23768 -- Rewrote template tests as unit tests. | Preston Timmons | 2014-12-03 | 38 | -0/+4849 |