.
This commit is contained in:
parent
1be7a18293
commit
6cf77c55db
|
@ -27,3 +27,4 @@ class Promotion(models.Model):
|
|||
|
||||
def get_discount(self, price):
|
||||
return price - price*0.25
|
||||
|
||||
|
|
Loading…
Reference in a new issue