Skip to content

Commit 29c7211

Browse files
committed
Set the 'person' field of the LegacyLiaisonUser in the admin interface to be handled as a raw id field with search button, rather than as a choice list.
- Legacy-Id: 3030
1 parent e9ec0c8 commit 29c7211

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/liaisons/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,5 @@ class LegacyWgPasswordAdmin(admin.ModelAdmin):
132132

133133
class LegacyLiaisonUserAdmin(admin.ModelAdmin):
134134
list_display = ['pk', 'person_link', 'login_name', 'user_level', 'comment', ]
135+
raw_id_fields = [ 'person', ]
135136
admin.site.register(LegacyLiaisonUser, LegacyLiaisonUserAdmin)

0 commit comments

Comments
 (0)