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
This commit is contained in:
parent
e9ec0c8a26
commit
29c7211c77
|
@ -132,4 +132,5 @@ admin.site.register(LegacyWgPassword, LegacyWgPasswordAdmin)
|
|||
|
||||
class LegacyLiaisonUserAdmin(admin.ModelAdmin):
|
||||
list_display = ['pk', 'person_link', 'login_name', 'user_level', 'comment', ]
|
||||
raw_id_fields = [ 'person', ]
|
||||
admin.site.register(LegacyLiaisonUser, LegacyLiaisonUserAdmin)
|
||||
|
|
Loading…
Reference in a new issue