Re: Better FileField

2007-10-16 Thread Marty Alchin
On 10/16/07, Doug Van Horn <[EMAIL PROTECTED]> wrote: > > On Oct 16, 7:06 am, "Fco. Javier Nievas" <[EMAIL PROTECTED]> wrote: > > Could you give a link to that patch? > > > > Thanks > > 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 hea

Re: Better FileField

2007-10-16 Thread Doug Van Horn
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 issu

Re: Better FileField

2007-10-16 Thread Fco. Javier Nievas
Could you give a link to that patch? Thanks On 10/11/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > > > As Malcolm mentioned, I put a lot of time into a patch to solve a > great many problems with FileField, even more than the ones you > mentioned. It's not in trunk yet, and I don't know when it w

Re: Better FileField

2007-10-11 Thread Marty Alchin
As Malcolm mentioned, I put a lot of time into a patch to solve a great many problems with FileField, even more than the ones you mentioned. It's not in trunk yet, and I don't know when it will be, but I'll answer your questions to give you an overview of how things will likely work. Keep in mind

Re: Better FileField

2007-10-11 Thread Malcolm Tredinnick
On Thu, 2007-10-11 at 15:04 +0200, Thomas Guettler wrote: > Hi, > > I like django, but not models.FileField. > > * I don't want to store the files in MEDIA_ROOT, since >the access needs to go through django for authentication. > > * The containing directory should be given by the model of t

Better FileField

2007-10-11 Thread Thomas Guettler
Hi, I like django, but not models.FileField. * I don't want to store the files in MEDIA_ROOT, since the access needs to go through django for authentication. * The containing directory should be given by the model of the FileField. Example: class MyFriend(models.Model): picture=model