JSON Decimal encoder
Python json module or simplejson don't support Decimals out of the box. Here's an encoder that casts Decimals into floats and then displays them in desired format.
- json
- decimal
- encoder
Python json module or simplejson don't support Decimals out of the box. Here's an encoder that casts Decimals into floats and then displays them in desired format.
Form field for displaying a submit button. Useful when you need to have a submit button in the middle of your form.
roxeteer has posted 2 snippets.