def METHOD_NAME(self):
    code = self.cleaned_data['code']
    price = self.cleaned_data['price']
    count = self.cleaned_data['count']
    discount = Discount.objects.get(discount_code=code).value * Decimal(count)
    METHOD_NAME = price - discount
    if METHOD_NAME < 0:
        METHOD_NAME = Decimal('0.00')
    return (METHOD_NAME, discount)