djangosnippets.org: Latest snippets posted by roxeteerhttps://djangosnippets.org/users/roxeteer/2011-04-12T00:54:56.991035-05:00roxeteerJSON Decimal encoder
2011-04-12T00:54:56.991035-05:00roxeteerhttps://djangosnippets.org/snippets/2410/<p>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.</p>
Freely redistributableSubmit button as a form field
2011-01-07T06:10:11.713280-06:00roxeteerhttps://djangosnippets.org/snippets/2312/<p>Form field for displaying a submit button. Useful when you need to have a submit button in the middle of your form.
</p>
Freely redistributable