1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00
django/tests/modeladmin
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
..
__init__.py
models.py Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin. 2017-09-18 13:48:02 -04:00
test_actions.py Fixed #16117 -- Added decorators for admin action and display functions. 2021-01-13 17:19:22 +01:00
test_checks.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
tests.py Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to empty tuples. 2022-01-11 12:22:49 +01:00