Maybe try the conversion then save the path to MongoDb, but not the 
bytsetring itself

On Wednesday, January 3, 2018 at 3:03:36 PM UTC+3, [email protected] wrote:
>
> What field should i use to store byte string so that i can later use it 
> for ByteIO to convert it into image ?
>
> As this is my first time doing on byte string to image, i am pretty lost 
> on what i need to do.
>
> I tried using BinaryField for the image model but when checking the field 
> out on Django admin, it gave me this error
> 'image' cannot be specified for MyUser model form as it is a non-editable 
> field
> i also tried setting BinaryField(editable=True) but it still doesnt work.
>
> May i have some guidance on how to store the byte string ? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b7bc5c1f-0a43-4d71-aa83-a0c4fc610232%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to