mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 16:18:03 +01:00
ignore ruff check
This commit is contained in:
parent
9076d27ffc
commit
9706c3e9be
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class BasketItemQuerySet(models.QuerySet):
|
||||||
return self.annotate(price=Coalesce(F("quantity") * F("unit_price_cents"), 0))
|
return self.annotate(price=Coalesce(F("quantity") * F("unit_price_cents"), 0))
|
||||||
|
|
||||||
|
|
||||||
class BasketItem(Model):
|
class BasketItem(Model): # noqa: DJ008
|
||||||
product = models.ForeignKey(
|
product = models.ForeignKey(
|
||||||
to=Product,
|
to=Product,
|
||||||
on_delete=models.PROTECT,
|
on_delete=models.PROTECT,
|
||||||
|
|
Loading…
Reference in a new issue