Ok, I figured that one out. I should be writing to within my Django project. How would I get this to work with apache permission?
On Nov 17, 8:51 pm, prem1er <[EMAIL PROTECTED]> wrote: > Trying to write an image to my server for a user. I keep getting the > error 'SuspiciousOperation, Attempted access to '.../....' denied. I > tried adding read write and execute permissions to this directory and > still no luck. > > from django.db import models > > class user(models.Model): > avatar = models.ImageField(upload_to='/tmp') > > def __unicode__(self): > return self.userName --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---