1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00
django/tests/invalid_models_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
..
__init__.py
test_backend_specific.py Fixed #31286 -- Made database specific fields checks databases aware. 2020-02-24 14:23:46 +01:00
test_custom_fields.py Made assertions in invalid_models_tests consistent. 2017-07-11 13:12:17 -04:00
test_deprecated_fields.py Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per deprecation timeline. 2021-01-14 17:50:04 +01:00
test_models.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
test_ordinary_fields.py Fixed #32966 -- Fixed TimeField.check() crash for timezone-aware times in default when USE_TZ = True. 2021-07-30 09:15:39 +02:00
test_relative_fields.py Fixed #33131 -- Improved error messages for clashing reverse accessor names. 2021-10-06 12:33:15 +02:00