Skip to content

Commit

Permalink
Switch adviser field to use an autocomplete component
Browse files Browse the repository at this point in the history
  • Loading branch information
chopkinsmade committed Apr 5, 2024
1 parent 8fecc2f commit 038f4aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions datahub/export_win/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,5 +367,9 @@ class WinAdviserAdmin(BaseModelAdminMixin):
)}),
)

autocomplete_fields = (
'adviser',
)

def has_change_permission(self, request, obj=None):
return False

0 comments on commit 038f4aa

Please sign in to comment.