mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-08 12:54:23 +00:00
postkey/admin.py: search by base64 hash also
This commit is contained in:
parent
f9f90d4af6
commit
6321482047
@ -36,7 +36,7 @@ class i2phostAdmin(admin.ModelAdmin):
|
|||||||
'activated', 'external')
|
'activated', 'external')
|
||||||
list_display_links = ['name']
|
list_display_links = ['name']
|
||||||
list_filter = ('activated', 'external', 'approved')
|
list_filter = ('activated', 'external', 'approved')
|
||||||
search_fields = ['name']
|
search_fields = ('name', 'b64hash')
|
||||||
ordering = ['-date_added']
|
ordering = ['-date_added']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user