django1/django/template
Keryn Knight 96e7ff5e9f
Avoided isinstance(…, Variable) calls in FilterExpression.resolve().
By determining the variable type within __init__() instead of resolve() 
we can skip an isinstance() check at template runtime. Templates are
executed in production more often than the parse trees themselves,
assuming the cached Loader is used.
2022-01-07 10:29:22 +01:00
..
backends Refs #32987 -- Refactored out get_template_tag_modules(). 2021-10-20 09:40:15 +02:00
loaders Refs #15053 -- Clarified debug message when skipping templates to avoid recursion. 2020-11-21 10:49:31 +01:00
__init__.py Fixed #25791 -- Implement autoreload behaviour for cached template loader. 2020-11-05 15:30:52 +01:00
autoreload.py Optimized django.template.autoreload.get_template_directories() a bit. 2021-12-21 08:39:40 +01:00
base.py Avoided isinstance(…, Variable) calls in FilterExpression.resolve(). 2022-01-07 10:29:22 +01:00
context.py Fixed #30651 -- Made __eq__() methods return NotImplemented for not implemented comparisons. 2019-10-01 17:58:19 +02:00
context_processors.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
defaultfilters.py Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort template filter. 2022-01-04 10:03:56 +01:00
defaulttags.py Fixed #32919 -- Optimized lexing & parsing of templates. 2021-08-02 10:57:51 +01:00
engine.py Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00
exceptions.py Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257. 2017-02-17 11:29:38 -05:00
library.py Fixed #33036 -- Made simple_tag()/inclusion_tag() with takes_context raise TemplateSyntaxError when function has no parameters. 2021-08-19 07:39:55 +02:00
loader.py Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257. 2017-02-17 11:29:38 -05:00
loader_tags.py Refs #32290 -- Optimized construct_relative_path() by delay computing has_quotes. 2021-12-08 08:17:54 +01:00
response.py Fixed #32002 -- Added headers parameter to HttpResponse and subclasses. 2020-10-07 09:19:57 +02:00
smartif.py Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257. 2017-02-17 11:29:38 -05:00
utils.py Refs #32355 -- Used @functools.lru_cache as a straight decorator. 2021-09-27 09:10:58 +02:00