On 7/21/07, Stefan Matthias Aust <[EMAIL PROTECTED]> wrote:
>
> I want to store binary data as part of my model. I didn't find
> something like a BlobField or BinaryField. What's the best approach to
> achieve this? Seems that Python has no byte array type (yet), so the
> Python way is probably to use a (raw) string here. But a CharField is
> unicode so I cannot use that.

There is no Blob/binary field at present. Adrian recently simplified
the process of creating a new field type, so writing your own
BinaryField should now be a lot easier. Check out the most recent
changes to trunk (around r5725, docs in r5736) for details.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to