1
0
mirror of https://github.com/django/django.git synced 2025-01-08 17:37:20 +00:00
django/tests/template_tests
Mariusz Felisiak c5cd878382
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],
)
2022-02-03 11:20:46 +01:00
..
eggs
filter_tests Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
jinja2/template_tests
other_templates
recursive_templates
relative_templates Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for relative path in variable. 2021-01-27 10:07:31 +01:00
syntax_tests Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
templates Fixed #28935 -- Fixed display of errors in extended blocks. 2021-07-02 11:38:15 +02:00
templatetags 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
__init__.py
alternate_urls.py
annotated_tag_function.py
broken_tag.py
test_autoreloader.py Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for template changes. 2021-05-26 09:41:29 +02:00
test_base.py Refs #33002 -- Added DebugLexer/Lexer.tokenize() test for trailing text token. 2021-08-09 13:42:26 +02:00
test_callables.py
test_context.py
test_custom.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
test_engine.py Refs #24121 -- Added __repr__() to Engine 2021-06-01 07:44:36 +02:00
test_extends_relative.py Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for relative path in variable. 2021-01-27 10:07:31 +01:00
test_extends.py Refs #15053 -- Clarified debug message when skipping templates to avoid recursion. 2020-11-21 10:49:31 +01:00
test_library.py
test_loaders.py
test_logging.py Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. 2021-03-02 20:35:33 +01:00
test_nodelist.py Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per deprecation timeline. 2021-01-14 17:50:04 +01:00
test_origin.py Refs #24121 -- Added __repr__() to Origin and Template. 2021-03-17 07:49:55 +01:00
test_parser.py Added test for TemplateSyntaxError when variables begin with underscores. 2021-08-02 11:37:39 +02:00
test_response.py
test_smartif.py
tests.py Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag. 2022-02-01 07:40:51 +01:00
urls.py
utils.py
views.py Changed docs and a code comment to use gender-neutral pronouns. 2020-11-13 22:26:30 +01:00