| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-12 | Accounted for multiple template engines in template responses. | Aymeric Augustin | |
| 2015-01-12 | Deprecated passing a Context to a generic Template.render. | Aymeric Augustin | |
| A deprecation path is required because the return type of django.template.loader.get_template changed during the multiple template engines refactor. test_csrf_token_in_404 was incorrect: it tested the case when the hardcoded template was rendered, and that template doesn't depend on the CSRF token. This commit makes it test the case when a custom template is rendered. | |||
| 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-09 | Fixed #24094 -- Enabled template tests to run individually. | Preston Timmons | |
| 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 | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | |
| 2014-12-28 | Deprecated TEMPLATE_DIRS. | Aymeric Augustin | |
| 2014-12-28 | Deprecated TEMPLATE_LOADERS. | Aymeric Augustin | |
| 2014-12-28 | Deprecated TEMPLATE_STRING_IF_INVALID. | Aymeric Augustin | |
| 2014-12-28 | Deprecated ALLOWED_INCLUDE_ROOTS. | Aymeric Augustin | |
| 2014-12-28 | Deprecated current_app in TemplateResponse and render(_to_response). | Aymeric Augustin | |
| 2014-12-28 | Supported multiple template engines in render_to_string. | Aymeric Augustin | |
| Adjusted its API through a deprecation path according to the DEP. | |||
| 2014-12-28 | Removed private API find_template. | Aymeric Augustin | |
| It wasn't documented and it wasn't used anywhere, except in a few tests that don't test it specifically and can be rewritten with get_template. | |||
| 2014-12-28 | Supported multiple template engines in get_template and select_template. | Aymeric Augustin | |
| This commit changes the return type of these two functions. Instead of returning a django.template.Template they return a backend-specific Template class that must implement render(self, context). | |||
| 2014-12-28 | Isolated template tests from Django settings. | Aymeric Augustin | |
| 2014-12-28 | Cleaned up the django.template namespace. | Aymeric Augustin | |
| Since this package is going to hold both the implementation of the Django Template Language and the infrastructure for Multiple Template Engines, it should be untied from the DTL as much as possible within our backwards-compatibility policy. Only public APIs (i.e. APIs mentioned in the documentation) were left. | |||
| 2014-12-16 | Fixed #16028 -- Moved defaultfilters tests into template_tests. | Preston Timmons | |
| 2014-12-13 | Removed obsolete code for running test_loaders.py. | Aymeric Augustin | |
| Running this file as a standalone script doesn't work anyway. | |||
| 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 | Removed redundant numbered parameters from str.format(). | Berker Peksag | |
| Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}". | |||
| 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 | |
| 2014-11-25 | Fixed #23914 -- Improved {% now %} to allow storing its result in the context. | Baptiste Mispelon | |
| Thanks to Tim for the review. | |||
| 2014-11-25 | Fixed #23890 -- Silenced numpy DeprecationWarnings in template tests. | Tim Graham | |
| 2014-11-23 | Encapsulated TEMPLATE_STRING_IF_INVALID in Engine. | Aymeric Augustin | |
| 2014-11-23 | Moved template loaders management in Engine. | Aymeric Augustin | |
| Passed the engine instance to loaders. This is a prerequisite for looking up configuration on the engine instance instead of global settings. This is backwards incompatible for custom template loaders that override __init__. However the documentation doesn't talk about __init__ and the way to pass arguments to custom template loaders isn't specified. I'm considering it a private API. | |||
| 2014-11-23 | Deprecated dirs argument to override TEMPLATE_DIRS. | Aymeric Augustin | |
| Cancels 2f0566fa. Refs #4278. | |||
| 2014-11-19 | Simplified caching of templatetags modules. | Aymeric Augustin | |
| 2014-11-16 | Refactored getting the list of template loaders. | Aymeric Augustin | |
| This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader. | |||
| 2014-11-16 | Removed override_template_loaders and override_with_test_loader. | Aymeric Augustin | |
| They can be replaced with override_settings and that makes the corresponding tests much more obvious. | |||
| 2014-11-16 | Moved all template loaders under django.template.loaders. | Aymeric Augustin | |
| Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API. | |||
| 2014-11-10 | Fixed #23789 -- TemplateResponse handles context differently from render | Luke Plant | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-10-31 | Avoided using private API get_template_from_string. | Aymeric Augustin | |
| 2014-09-09 | Fixed urlize after smart_urlquote rewrite | Claude Paroz | |
| Refs #22267. | |||
| 2014-08-15 | Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter. | Tim Graham | |
| Also the unused, undocumented django.utils.html.strip_entities() function. | |||
| 2014-08-12 | Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d. | Tim Graham | |
| 2014-08-12 | Added newlines to the ends of CSS, HTML, and JavaScript files missing them. | Trey Hunner | |
| 2014-08-12 | Fixed #23276 -- Deprecated passing views as strings to url(). | Tim Graham | |
| 2014-08-11 | Fixed #23261 -- Deprecated old style list support for unordered_list filter. | Jaap Roes | |
| 2014-07-31 | Fixed #16383 -- Raised the AttributeError raised in property of an object ↵ | Anubhav Joshi | |
| when used in a template. Thanks maraujop for the report and Hiroki and Tim Graham for review. | |||
| 2014-07-26 | Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetag | qingfeng | |
| 2014-07-24 | Fixed #21707 -- Added helpful error message when using {{ block.super }} in ↵ | Anubhav Joshi | |
| base template. Thanks mitar for the suggestion. | |||
| 2014-07-14 | Fixed #22789 -- Deprecated django.contrib.webdesign. | Tim Graham | |
| Moved the {% lorem %} tag to built-in tags. | |||
| 2014-07-09 | Fixed #22223 -- Prevented over-escaping URLs in reverse() | Claude Paroz | |
| And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review. | |||
| 2014-06-05 | Fixed #18400 -- Modified length template filter to return 0 for unknown ↵ | Susan Tan | |
| variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback. | |||
