diff --git a/promotion/models.py b/promotion/models.py index 76425b8..4401faf 100644 --- a/promotion/models.py +++ b/promotion/models.py @@ -24,6 +24,7 @@ class Promotion(models.Model): reverse_lazy("promotion:contract"), code ) + return url def get_discount(self, price): return price - price*0.25