Monday, June 4, 2012

Re: uploading images via API

take a look at gist w/ base64 file upload solution:
https://github.com/toastdriven/django-tastypie/issues/42

it works great, you can add Base64FileField implementation to your app
(it's only ~15 lines of code) and you can upload from anything that
can open a file and encode it.
you can also use flash/swf if you need to make it work in older browsers.

Aljosa

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment