fix
This commit is contained in:
parent
c84bea8d06
commit
0a8690659f
|
@ -24,6 +24,7 @@ class Promotion(models.Model):
|
||||||
reverse_lazy("promotion:contract"),
|
reverse_lazy("promotion:contract"),
|
||||||
code
|
code
|
||||||
)
|
)
|
||||||
|
return url
|
||||||
|
|
||||||
def get_discount(self, price):
|
def get_discount(self, price):
|
||||||
return price - price*0.25
|
return price - price*0.25
|
||||||
|
|
Loading…
Reference in New Issue