| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-11-05 | Refs #25791 -- Added get_dirs() method to cached template loader. | Tom Forbes | |
| 2019-11-06 | Harmonized Windows checks in tests to a single style. | Jon Dufresne | |
| 2019-01-29 | Refs #30137 -- Fixed template test on Windows. | Tim Graham | |
| Broken in 7785e03ba89aafbd949191f126361fb9103cb980. | |||
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
| 2018-09-25 | Refs #27795 -- Removed force_bytes() usage in utils/_os.py. | Jon Dufresne | |
| 2017-01-26 | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-17 | Refs #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline. | Tim Graham | |
| 2017-01-17 | Refs #15053 -- Removed support for non-recursive template loading. | Tim Graham | |
| Per deprecation timeline. | |||
| 2016-12-14 | Fixed #27598 -- Allowed specifying directories for a filesystem template loader. | Tim Graham | |
| Thanks Carl Meyer for review. | |||
| 2016-09-03 | Fixed #25788 -- Enabled the cached template loader if debug is False. | Tim Graham | |
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-05-10 | Fixed #26603 -- Forced lazy template names to text when computing cache key. | Simon Charette | |
| Refs #26536. Thanks Sylvain Fankhauser for the very detailed report. | |||
| 2016-04-24 | Fixed #26536 -- Preserved leading dashes of the cached template loader keys. | Simon Charette | |
| Thanks Anders Roos for the report. | |||
| 2016-03-16 | Fixed #26306 -- Fixed memory leak in cached template loader. | Alex Hill | |
| 2016-02-26 | Fixed #26280 -- Fixed cached template loader crash when loading nonexistent ↵ | Ivan Tsouvarev | |
| template. | |||
| 2015-07-16 | Fixed #25120 -- Deprecated egg template loader. | Tim Graham | |
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-04-22 | Fixed #15053 -- Enabled recursive template loading. | Preston Timmons | |
| 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-05 | Fixed test_notafile_error to pass on Windows. | Preston Timmons | |
| This test failed because a different error code is raised on Windows when opening a directory. Since the particular message isn't as important to this test as the fact that the original IOError is reraised, this fixes the test by making the assertion more generic. | |||
| 2015-03-03 | Fixed #24399 -- Made filesystem loaders use more specific exceptions. | Preston Timmons | |
| 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-24 | Cleaned up template loader tests. | Preston Timmons | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 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. | |||
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-28 | Deprecated TEMPLATE_LOADERS. | 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-13 | Removed obsolete code for running test_loaders.py. | Aymeric Augustin | |
| Running this file as a standalone script doesn't work anyway. | |||
| 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-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-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-08-12 | Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d. | Tim Graham | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-02-22 | Fixed #21741 -- Fixed render_to_string to stop pushing empty dictionaries to ↵ | Baptiste Mispelon | |
| its Context Thanks to kezabelle for the report and original patch and to numerodix for his improved patch. | |||
| 2014-02-04 | Fixed #21929 - Fixed test regression on Windows. | Carl Meyer | |
| Thanks Michael Manfre for the report. | |||
| 2014-01-27 | Fixed #21874 -- Require Django applications to have a filesystem path. | Carl Meyer | |
| Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion. | |||
| 2014-01-19 | Refs #21628 -- removed one usage of the imp module in the tests. It is ↵ | Alex Gaynor | |
| deprecated in Python 3.4 | |||
| 2013-12-23 | Dropped AppCache._empty, _with_app and _without_app. | Aymeric Augustin | |
| It's now easier to achieve the same effect with modify_settings or override_settings. | |||
| 2013-12-22 | Moved apps back in the toplevel django namespace. | Aymeric Augustin | |
| Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | |||
| 2013-12-22 | Stopped iterating on INSTALLED_APPS. | Aymeric Augustin | |
| Used the app cache's get_app_configs() method instead. | |||
| 2013-11-22 | Fixed #21460 -- Reenabled proper template precedence in find_template | Pablo Martín | |
| Refs #20806. Thanks Unai Zalakain for the review. | |||
| 2013-11-02 | Fixing E302 Errors | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-21 | Removed some direct settings manipulations in tests; refs #21230. | Bouke Haarsma | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
