diff --git a/tests/admin_changelist/admin.py b/tests/admin_changelist/admin.py
index bae857f..99deafc 100644
a
|
b
|
site.register(Parent, NoListDisplayLinksParentAdmin)
|
107 | 107 | |
108 | 108 | class SwallowAdmin(admin.ModelAdmin): |
109 | 109 | actions = None # prevent ['action_checkbox'] + list(list_display) |
110 | | list_display = ('origin', 'load', 'speed') |
| 110 | list_display = ('origin', 'load', 'speed', 'swallowonetoone') |
111 | 111 | |
112 | 112 | site.register(Swallow, SwallowAdmin) |
113 | 113 | |
diff --git a/tests/admin_changelist/models.py b/tests/admin_changelist/models.py
index 2b8d2bc..aa4241c 100644
a
|
b
|
class Swallow(models.Model):
|
83 | 83 | ordering = ('speed', 'load') |
84 | 84 | |
85 | 85 | |
| 86 | class SwallowOneToOne(models.Model): |
| 87 | swallow = models.OneToOneField(Swallow) |
| 88 | |
| 89 | |
86 | 90 | class UnorderedObject(models.Model): |
87 | 91 | """ |
88 | 92 | Model without any defined `Meta.ordering`. |