I see that Quixote (as of version 2.3) doesn't have a widget for the Decimal type introduced in Python 2.4. This would be nice, especially for apps involving currency. Of course, it's trivial to implement:

try:
    from decimal import Decimal

    class DecimalWidget(NumberWidget):
        TYPE_OBJECT = Decimal
        TYPE_ERROR = "must be a number"
except:
    pass
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to