如何从我的奥斯卡模特中删除“limit_choices_to={'offer_type': "Voucher"}”?

问题描述 投票:0回答:0

我尝试从 oscar 核心应用程序中删除,但是当我尝试进行迁移时,它显示未检测到任何更改

我只想向用户显示所有“offer_types”


offers = models.ManyToManyField(
        'offer.ConditionalOffer', related_name='vouchers',
        verbose_name=_("Offers"))
django django-models django-oscar
© www.soinside.com 2019 - 2024. All rights reserved.