From 1cdef34f5c18b47f0d8d1869d250f22d6b830645 Mon Sep 17 00:00:00 2001 From: Krishna2864 <75547302+Krishna2864@users.noreply.github.com> Date: Sat, 9 Dec 2023 01:50:23 +0530 Subject: [PATCH] Update tests.py --- tests/admin_ordering/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin_ordering/tests.py b/tests/admin_ordering/tests.py index e50cf8f847..41fed45639 100644 --- a/tests/admin_ordering/tests.py +++ b/tests/admin_ordering/tests.py @@ -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 )