On Oct 16, 7:06 am, "Fco. Javier Nievas" <[EMAIL PROTECTED]> wrote:
> Could you give a link to that patch?
>
> Thanks

I wrote a post about how I handled including a model ID in the path of
an uploaded file:

http://dougblog.com/articles/2007/oct/11/dynamic-upload/

I didn't address any other issues you brought up., though I plan on
restricting access to files uploaded to MEDIA_ROOT via Apache.  There
are some discussions on this list about how to accomplish that (search
for "Securing static files").

Also, my static content is located in a different directory from my
uploaded content, made available via a custom MEDIA_PREFIX setting
(inspired by ADMIN_MEDIA_PREFIX).

One last note, there's a link at the bottom of my post  to Marty's
patch.  Here it is if you'd rather just head there:

http://code.djangoproject.com/ticket/5361


doug.


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