Skip to content

Commit

Permalink
fix: add search fields Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-zahedi committed Nov 4, 2023
1 parent d30bfbd commit 889ba77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_telethon/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class EntityAdmin(admin.ModelAdmin):
]
raw_id_fields = ['client_session']
list_filter = ['client_session__name']
search_fields = ('hash_value', 'username', 'phone', 'name', )


class UpdateStateAdmin(admin.ModelAdmin):
Expand Down

0 comments on commit 889ba77

Please sign in to comment.