Re: Wired image file upload problem

2011-09-30 Thread @@
Sorry, it's the size limitation. Didn't aware the settings.FILE_UPLOAD_MAX_MEMORY_SIZE was changed. On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang wrote: > size limitation? > it is wired. > [?] > > 2011/9/28 @@ > >> Hi >> I got a image can't upload while other image works fine, and i use paint >>

Re: Wired image file upload problem

2011-09-29 Thread @@
Thanks Dejan, Now my problem is that I can't got the file from request.FILES , the request.FILES is None. On Thu, Sep 29, 2011 at 6:31 PM, Dejan Noveski wrote: > Older versions of PIL have issues with incomplete exif data. If you make > thumbnails or in any way manipulate the image, it wont wo

Re: Wired image file upload problem

2011-09-29 Thread Dejan Noveski
Older versions of PIL have issues with incomplete exif data. If you make thumbnails or in any way manipulate the image, it wont work. Had this issue 2 days ago. Try working with PIL 1.1.7 On Thu, Sep 29, 2011 at 12:10 PM, @@ wrote: > No it's size limitation. don't know if it was something wrong

Re: Wired image file upload problem

2011-09-29 Thread @@
No it's size limitation. don't know if it was something wrong with exif, cause this is the only thing I found special with this image. I use ms paint open this image and saved it as another image, and the new image can be uploaded with no problem. On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang wro

Re: Wired image file upload problem

2011-09-29 Thread Jian Chang
size limitation? it is wired. [?] 2011/9/28 @@ > Hi > I got a image can't upload while other image works fine, and i use paint > open this image and save it as another file, then the other file can be > uploaded. > The debug page shows the request.FILES is None. > The attachment is the image can

Re: File upload problem

2008-10-29 Thread Benedict Verheyen
Roodie wrote: > Hello, > > I have an interesting problem. One of the users of my ( test ) django > site reported that he cannot upload image banners to the site using > the custom admin. I've checked the logs, and found the following > exception logged: > > Traceback (most recent call last): >

File upload problem

2008-10-29 Thread Roodie
Hello, I have an interesting problem. One of the users of my ( test ) django site reported that he cannot upload image banners to the site using the custom admin. I've checked the logs, and found the following exception logged: Traceback (most recent call last): File "/usr/lib/python2.4/site-p

Re: Newform and File Upload problem

2007-05-08 Thread guillaume
Thanks a lot! It works for FileFiels as well! Yours, Guillaume. Le mardi 08 mai 2007 � 00:20 +, scadink a �crit : > File uploads haven't been completed in newforms. It's not a great > situation, but that's what happens with software that's currently in > development. > > What I did in my v

Re: Newform and File Upload problem

2007-05-07 Thread scadink
File uploads haven't been completed in newforms. It's not a great situation, but that's what happens with software that's currently in development. What I did in my view that worked: p = Picture() p.title = clean_data['title'] p.save_image_file(image['filename'], image['content']) Basically, t

Re: Newform and File Upload problem

2007-05-07 Thread guillaume
Well, my message was maybe a little long. I still have not found answers to my problem. To make it short, Is there anywhere a short example of file upload using newform ? The most simple thing with a model with 1 FileField, the smallest template and form associated and the handling code. That wou

Newform and File Upload problem

2007-05-07 Thread schmidg
Hello everybody. I am a Django newbie experimenting with some stuff. I am very impressed by the framework, that made me want to learn more about it. I am trying to do some file upload but I have a problem. I tried many information sources but could not find a simple example of what I am trying to