ignore ruff check

This commit is contained in:
Gabriel Augendre 2024-01-20 09:20:22 +01:00
parent 9076d27ffc
commit 9706c3e9be

View file

@ -203,7 +203,7 @@ class BasketItemQuerySet(models.QuerySet):
return self.annotate(price=Coalesce(F("quantity") * F("unit_price_cents"), 0))
class BasketItem(Model):
class BasketItem(Model): # noqa: DJ008
product = models.ForeignKey(
to=Product,
on_delete=models.PROTECT,