Closed theKush closed 10 years ago
@theKush I can't trigger the error. Can you list the steps you take?
@mkwiatkowski Here is what I entered: code: kush Discount: 1 and then click update.
The error only triggered when the first coupon was being created, that's why I couldn't see it the first time as I already had some coupons present.
Man, the validation on the discount price took me forever, it wasn't easy to do that in Django and I had to use a bit hacky solution.
A hacky solution is better than no solution at all ;) nice work!
Regards,
Jordan
On Apr 25, 2014, at 9:04 AM, Michal Kwiatkowski notifications@github.com wrote:
The error only triggered when the first coupon was being created, that's why I couldn't see it the first time as I already had some coupons present.
Man, the validation on the discount price took me forever, it wasn't easy to do that in Django and I had to use a bit hacky solution.
— Reply to this email directly or view it on GitHub.
Error: 'CouponForm' object has no attribute 'cleaned_data'
Enhancement: Check Discount amount < product price