django1/django/template
Mariusz Felisiak d55a1e5809 [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black.
In these cases Black produces unexpected results, e.g.

def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):

or

cursor.execute("""
SELECT ...
""",
    [table name],
)

Backport of c5cd878382 from main.
2022-02-03 11:38:46 +01:00
..
backends [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +01: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 Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for template changes. 2021-05-26 09:41:29 +02:00
base.py [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +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 [4.0.x] Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort template filter. 2022-01-04 10:10:14 +01:00
defaulttags.py [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +01:00
engine.py Refs #24121 -- Added __repr__() to Engine 2021-06-01 07:44:36 +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 [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +01:00
response.py [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +01: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 #29983 -- Added support for using pathlib.Path in all settings. 2019-11-07 10:26:22 +01:00