summaryrefslogtreecommitdiff
path: root/django/template/utils.py
AgeCommit message (Collapse)Author
2024-07-22Applied optimizations to template.utils.get_app_template_dirs().sobolevn
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-27Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak
2019-11-07Refs #29983 -- Added support for using pathlib.Path in all settings.Jon Dufresne
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-02-26Refs #28909 -- Simplifed code using unpacking generalizations.Mariusz Felisiak
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2015-09-23Removed deprecated TEMPLATE_* settings per deprecation timeline.Tim Graham
2015-09-23Refs #24022 -- Removed the ssi tag per deprecation timeline.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-05-03Fixed #24685 -- Fixed check for template name unicity.Aymeric Augustin
Thanks Preston Timmons for the report.
2015-02-17Refs #24324 -- Fixed get_app_template_dirs() UnicodeDecodeError on Python 2.Tim Graham
The function implemented most of upath(), but skipped the check for strings that are already unicode.
2015-02-15Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-05Fixed #24265 -- Preserved template backend loading exceptions.Aymeric Augustin
If importing or initializing a template backend fails, attempting to access this template backend again must raise the same exception.
2014-12-28Raised a warning when using the legacy TEMPLATE_* settings.Aymeric Augustin
All tests now rely on TEMPLATES.
2014-12-28Looked up the default template engine in the list of all engines.Aymeric Augustin
2014-12-28Added initial support for loading template engines.Aymeric Augustin
2014-11-16Refactored listing template subdirectories in apps.Aymeric Augustin
This change has the nice side effect of removing code that ran at import time and depended on the app registry at module level -- a notorious cause of AppRegistryNotReady exceptions.