diff options
author | luxagraf <sng@luxagraf.net> | 2023-06-29 16:36:36 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-06-29 16:36:36 -0500 |
commit | 14ddf0008f29fcd679c2f47a9a651a60c339a842 (patch) | |
tree | 34b877041ef180b3e36b01feefdfd4e121587894 | |
parent | 722fac42fce739215b5d838d640003da15d5d64f (diff) |
added searching by brand
-rw-r--r-- | app/deals/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/deals/admin.py b/app/deals/admin.py index 24aa35e..264ff3d 100644 --- a/app/deals/admin.py +++ b/app/deals/admin.py @@ -10,7 +10,7 @@ from .models import Deal @admin.register(Deal) class DealAdmin(OSMGeoAdmin): list_display = ('brand', 'title', 'category', 'deal_price', 'original_price', 'discount_percent', 'promo_type', 'amazon_link', 'search_wired', 'get_airtable_code') - search_fields = ['title', ] + search_fields = ['brand', 'title', ] list_filter = ('category', 'promo_type', ('brand', DropdownFilter),) |