1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Update tests.py

This commit is contained in:
Krishna2864 2023-12-09 01:50:23 +05:30 committed by GitHub
parent bcbb74d630
commit 1cdef34f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ class TestCustomAdminOrdering(TestCase):
admin.site.register(ReportData, ReportAdmin)
def test_system_user_ordering(self):
# Test if the ordering for SystemUser Admin is as expected
#Test if the ordering for SystemUser Admin is as expected
fk_field = admin.site._registry[ReportData].formfield_for_foreignkey(
ReportData.owner.field, request=None
)