From 6cf77c55db79eabbaa52554684e363cbabe2a659 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 11 Dec 2023 14:07:59 +0100 Subject: [PATCH] . --- promotion/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/promotion/models.py b/promotion/models.py index 2750b79..76425b8 100644 --- a/promotion/models.py +++ b/promotion/models.py @@ -26,4 +26,5 @@ class Promotion(models.Model): ) def get_discount(self, price): - return price - price*0.25 \ No newline at end of file + return price - price*0.25 +