On Thu, Oct 14, 2010 at 3:45 AM, Sheena <sheena.oconn...@gmail.com> wrote: > I also want to have the option to add any attachment. So I want to > have a button that when pressed allows the user to pick a file on > their hdd and have it uploaded immediately, without loosing anything > that's already filled in on the email form.
I have implemented this in my project using django-tinymce, swfupload and jquery. It was definitely one of the hardest features to implement. If you want to go this route I can tell you one issue I ran into was flash and cookies. This caused problems with authentication (my upload service requires auth) and CSRF, but there was a simple fix I found by googling to add some middleware. Here is one link with some guidelines: http://stackoverflow.com/questions/612734/code-samples-for-django-swfupload I'm not 100% sold on swfupload and I did some research on other flash based options, but I got so invested in swfupload I didn't have time to try others. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.