django1/django/template
Alex Gaynor 04ac9b45a3 Improved performance of django.template.base.Parser.
pop(0), which is used to fetch each token, is O(n) in the length of the
list. By reversing the list and operating off the end, we can perform
next_token(), prepend_token(), and delete_first_token() in constant
time.
2019-10-09 08:33:16 +02:00
..
backends Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline. 2019-09-10 12:01:00 +02:00
loaders Removed template_cache attribute from cached template loader. 2019-01-18 18:35:00 -05:00
__init__.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
base.py Improved performance of django.template.base.Parser. 2019-10-09 08:33:16 +02: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 Replaced temporary lists used for passing arguments with iterables. 2017-04-26 10:54:20 -04:00
defaultfilters.py Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and filesizeformat filters. 2019-06-11 20:34:59 +02:00
defaulttags.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
engine.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +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 #30453 -- Fixed crash of simple_tag() and inclusion_tag() when function is wrapped. 2019-05-17 09:53:24 +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 Merged startswith() calls. 2017-09-25 09:18:29 -04:00
response.py Removed unnecessary assignments in various code. 2019-04-24 13:09:29 +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 Fixed #30159 -- Removed unneeded use of OrderedDict. 2019-02-06 13:48:39 -05:00