linted & fixed unit tests

This commit is contained in:
CocoByte 2024-06-25 14:18:36 -06:00
parent cc7f698ddf
commit 635220f83e
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 2 additions and 1 deletions

View file

@ -711,7 +711,7 @@ class MyUserAdmin(BaseUserAdmin, ImportExportModelAdmin):
"groups",
"Important dates",
"last_login",
"date_joined"
"date_joined",
]
list_filter = (

View file

@ -4093,6 +4093,7 @@ class TestContactAdmin(TestCase):
expected_fields = [
"user",
"e_mail"
]
self.assertEqual(readonly_fields, expected_fields)