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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---