Hi,

Is there a way to point the FileField upload directory to somewhere that
isn't under the MEDIA_ROOT ?

I want this because i want to be able to upload files, but not have them
accessible via the web.

I've worked around this by making a new url to the upload directory and
making a view which raises a Http404, which works fine, but I don't
think is an ideal solution.

I think having the upload_to directory point to a absolute file path
rather than one relative the the media_root dir would make more sense,
since users can specify the media_root if they wish, but it's not
enforced.

Any thoughts?
Thanks,
-Tristan


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to