1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00
django/tests/view_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
..
app0
app1
app2
app3
app4
app5
locale Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog. 2019-01-28 21:04:36 +01:00
media Completed test coverage of views.static.directory_name(). 2018-10-23 20:44:27 -04:00
templates Fixed #32105 -- Added template paths as ExceptionReporter class attributes. 2020-10-15 13:56:15 +02:00
templatetags Refs #23919 -- Removed a Python 2 code path in force_text(). 2017-02-03 19:38:33 -05:00
tests Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
__init__.py Refs #23919 -- Removed a Python 2 code path in force_text(). 2017-02-03 19:38:33 -05:00
default_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
generic_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
models.py Removed unused __str__() methods in tests models. 2020-04-15 20:20:32 +02:00
regression_21530_urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
urls.py Fixed #33461 -- Escaped template errors in the technical 500 debug page. 2022-01-28 07:07:12 +01:00
views.py Fixed #33461 -- Escaped template errors in the technical 500 debug page. 2022-01-28 07:07:12 +01:00