Re: [mezzanine-users] Problems adding a Decimal Field to EXTRA_MODEL_FILES

2015-12-23 Thread Eduardo Rivas
You're passing the max digits and decimal places parameters as strings. Make them integers. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [mezzanine-users] Problems adding a Decimal Field to EXTRA_MODEL_FILES

2015-12-23 Thread Rodrigo Gadea
On Wed, Dec 23, 2015 at 7:21 PM, Eduardo Rivas wrote: > . D'oh! That was it!! Thanks a lot! :) -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it,

[mezzanine-users] Problems adding a Decimal Field to EXTRA_MODEL_FILES

2015-12-23 Thread Rodrigo Gadea
Hi People! I'm having problems adding a Decimal Field: ( "cartridge.shop.models.Product.package_weight", "DecimalField", (_("Package Weight (kg)"),), {"max_digits": "7", "decimal_places": "3", "blank": True, "null": True}, ), and when I run