If you're using ImageField, that by default verifies that what you've 
uploaded is in fact an image. It uses PIL (python image library, aka 
python-imaging) to do that. make sure you have PIL installed and it is 
working.

On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote:
>
> I got it working by granting 775 permission for that fold and its 
> sub-folder where the files had to be created and lacked enough privilege to 
> do so. Now everything works! ...I just need to figure out why the uploads 
> won't accept .jpg files =\
>
> On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:
>>
>> I encountered an error where whenever I go to upload a file, it tells me 
>> that a folder doesn't have enough permission. What kind of permission do we 
>> give these folders? I use Apache server. Do I change the whole project 
>> folder to group www-data? Then set chmod to 775 to the project folder and 
>> all files in the project recursively? Here is my traceback error log: 
>> http://dpaste.org/5KUMf/!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/sbjdG2q_mFIJ.
To post to this group, send email to django-users@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.

Reply via email to