mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
Update tests.py
This commit is contained in:
parent
bcbb74d630
commit
1cdef34f5c
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user