diff options
author | luxagraf <sng@luxagraf.net> | 2020-07-22 14:22:49 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-07-22 14:22:49 -0400 |
commit | 6547470e6e9705b8feddadf1284998931ecccbab (patch) | |
tree | bcc36d0ba6d1c68729ad07cb554e365663f301ce /app/photos | |
parent | b1e610b19dfe0758d7bebc29050858a8a8e0962a (diff) |
added alt to image search fields
Diffstat (limited to 'app/photos')
-rw-r--r-- | app/photos/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/photos/admin.py b/app/photos/admin.py index 8e605ee..e77e50b 100644 --- a/app/photos/admin.py +++ b/app/photos/admin.py @@ -28,7 +28,7 @@ class LuxVideoAdmin(OSMGeoAdmin): class LuxImageAdmin(OSMGeoAdmin): list_display = ('pk', 'admin_thumbnail', 'pub_date', 'caption', 'location') list_filter = ('pub_date', 'location') - search_fields = ['title', 'caption'] + search_fields = ['title', 'caption', 'alt'] list_editable = ('location',) # Options for OSM map Using custom ESRI topo map default_lon = -9285175 |