1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-02-02 01:44:40 +00:00

postkey/admin.py: search by base64 hash also

This commit is contained in:
Hidden Z 2010-12-06 17:04:53 +00:00
parent f9f90d4af6
commit 6321482047

View File

@ -36,7 +36,7 @@ class i2phostAdmin(admin.ModelAdmin):
'activated', 'external')
list_display_links = ['name']
list_filter = ('activated', 'external', 'approved')
search_fields = ['name']
search_fields = ('name', 'b64hash')
ordering = ['-date_added']