Re: FileFields, MEDIA_ROOT, and private media

2006-06-06 Thread Jason F. McBrayer
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > 1) Create two separate media directories: /media/public and > /media/restricted > 2) Configure Apache to serve /media/public directory directly > 3) Configure Apache to serve the /media/restricted directory using > mod_python > 4) Set a url entry

Re: FileFields, MEDIA_ROOT, and private media

2006-06-06 Thread [EMAIL PROTECTED]
> I've got an unusual situation with an app, and I'm wondering if anyone > could make a suggestion. The app will have a number of file upload > fields for uploading files that are _not_ supposed to be made > available to the webserver (as they are private). I'd like for > particular FileFields

Re: FileFields, MEDIA_ROOT, and private media

2006-06-06 Thread Jason F. McBrayer
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > Are you using the Django admin for the file uploads? If not, you can > just write your own views that upload the data to a place of your > choosing. You'd be dealing with request.FILES for this. Unfortunately (?), I am using the Django admin for