Re: FileInput question

2008-09-17 Thread saeb
I figured it out. If someone wants to know how to do it, here is the snippet: http://www.djangosnippets.org/snippets/1063/ On Sep 17, 9:54 am, saeb <[EMAIL PROTECTED]> wrote: > Can some please help me with this issue? I have been trying all sorts > of stuff for past few hours and django docu

Re: FileInput question

2008-09-17 Thread saeb
Can some please help me with this issue? I have been trying all sorts of stuff for past few hours and django documentation seems insufficient. I can see that the file is loaded in memory, but doesn't get attached. I couldn't find any examples dealing with this sort of case. thanks again. On Sep

FileInput question

2008-09-16 Thread saeb
Hi, I am trying to send a file as an attachment in an email. It works fine when I attachment file is hardcoded. But when I try to use FileInput widget, I just get the filename in request.FILES dictionary. Is it possible to get full path of the file? Am I using wrong widget for this purpose?