djangosnippets.org: Latest snippets tagged with 'blob'http://djangosnippets.org/tags/blob/2009-08-05T15:04:04.118561-05:00Base64Field: base64 encoding field for storing binary data in Django TextFields
2009-08-05T15:04:04.118561-05:00bikeshedderhttp://djangosnippets.org/snippets/1669/<p>This Base64Field class can be used as an alternative to a BlobField, which is not supported by Django out of the box.</p>
<p>The base64 encoded data can be accessed by appending _base64 to the field name. This is especially handy when using this field for sending eMails with attachment which …</p>
Freely redistributablebase64 encoding/decoding property for storing binary data in Django TextFields.
2009-06-26T11:21:25.547527-05:00bikeshedderhttp://djangosnippets.org/snippets/1597/<p>This is possibly the simplest solution for storing binary data in a TextField.</p>
Freely redistributable