diff --git a/django/didgeridoo/webshop/models.py b/django/didgeridoo/webshop/models.py index 9551f84..e9c6f91 100644 --- a/django/didgeridoo/webshop/models.py +++ b/django/didgeridoo/webshop/models.py @@ -112,11 +112,6 @@ class CartPosition(models.Model): article = models.ForeignKey(Article, on_delete=models.CASCADE) amount = models.FloatField(max_length=5) cart = models.ForeignKey(ShoppingCart, on_delete=models.CASCADE) - position_price = models.DecimalField(max_digits=19, - decimal_places=2, - validators=[MinValueValidator( - Decimal('0.00'))], - null=True) def calculate_position_price(self): decimal_amount = Decimal.from_float(self.amount) diff --git a/django/didgeridoo/webshop/templates/webshop/cart.html b/django/didgeridoo/webshop/templates/webshop/cart.html index cbfe4e3..82fc248 100644 --- a/django/didgeridoo/webshop/templates/webshop/cart.html +++ b/django/didgeridoo/webshop/templates/webshop/cart.html @@ -13,22 +13,22 @@