I'm trying to use the FileField with a custom FileSystemStorage class.
I have my location and upload_to set:

location = /opt/files/
upload_to = mike

I want files to upload to /opt/files/mike but the filenames are
prefixed in the database with /mike, which I don't want. So based on
the docs I changed my settings to:


location = /opt/files/mike
upload_to = /

But when I upload a file I get a SuspiciousOperation exception because
it's trying to upload the file to /. Huh? How would I upload the files
to /opt/files/mike without having /mike prefixed to the filename?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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