divio/django-shop — pull request #115 by mbrochh (2011-12-04 08:14:20+00:00)
Title: Set max value on cart item form.

When you enter 99999999999999 into the quantity fields of the cart, you will get an exception when using mysql.

To circumvent this I put a max_value of 9999. Any objections against this? Is it very likely that a shop will want to sell more than 9999 items of the same product in one shipment? If these items each cost $99999, we will get an exception as well, because the sum has to be saved into the database as well.

Any ideas on how to tackle this problem professionally?