applied tags field to company model

This commit is contained in:
Sam
2021-01-26 12:06:20 +00:00
parent 2a05beec07
commit a9658c1009
3 changed files with 11 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ class CompanyFactory(DjangoModelFactory):
shop_rss_feed = FuzzyText(prefix='http://SHOP_RSS_FEED_', suffix='.test', length=10)
sale_terms = FuzzyText(prefix='SALES_TERMS', length=250)
shipping_cost = FuzzyDecimal(low=1.00)
# tags = models.ManyToMany(Tag, null=True)
tags = ['cool', 'hip', 'tech/blockchain']
sync = FuzzyChoice(choices=(True, False))
class Meta: