mirror of
https://github.com/sissbruecker/linkding
synced 2025-02-16 12:28:23 +00:00
Disable editing of search preferences in user admin (#555)
This commit is contained in:
parent
f4fcb96b5e
commit
ff400a79ec
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class AdminUserProfileInline(admin.StackedInline):
|
|||
can_delete = False
|
||||
verbose_name_plural = 'Profile'
|
||||
fk_name = 'user'
|
||||
|
||||
readonly_fields = ('search_preferences', )
|
||||
|
||||
class AdminCustomUser(UserAdmin):
|
||||
inlines = (AdminUserProfileInline,)
|
||||
|
|
Loading…
Add table
Reference in a new issue