search optimization broken by tags

This commit is contained in:
Sam
2021-02-04 14:10:51 +00:00
parent 67ce92c33f
commit b9822edc8d
3 changed files with 28 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ class ProductFactory(DjangoModelFactory):
update_date = FuzzyDateTime(start_dt=timezone.now())
discount = FuzzyDecimal(low=0.00, high=100.00)
stock = FuzzyInteger(low=0)
tags = ['test-tag']
tags = ['test']
category = 'top-category' # main tag category
attributes = ['programming/python', 'testing']
identifiers = FuzzyText(prefix='IDENTIFIERS_', length=100)