Re: r9766-related issues

2009-05-15 Thread Lior Gradstein
I find it really disturbing for someone that comes for the first time and *thinks* that's it's possible (especially when it was possible in 1.0, and you'll get a lot of references on the web on 'tips' and similar usage) to access the filenames in a pre_save signal. The problem is that *if* you do

Re: Bug or feature: pre_save used on FileField/ImageField doesn't work as in Django 1.0.2

2009-04-28 Thread Lior Gradstein
About the initial problem that started this thread, the associated bug number is #10948. On Apr 6, 10:41 pm, Karen Tracey wrote: > On Mon, Apr 6, 2009 at 1:56 PM, Marty Alchin wrote: > > > On Mon, Apr 6, 2009 at 1:16 PM, Karen Tracey wrote: > > > I feel like I'm going around in circles thinki

Bug or feature: pre_save used on FileField/ImageField doesn't work as in Django 1.0.2

2009-04-02 Thread Lior Gradstein
I noticed an important change in behaviour between Django 1.0.2 and Django 1.1+ (svn and beta versions). If I set a signal that intercepts as pre_save and try to access a FileField/ImageField's path, I don't get the same result. It seems the 'upload_to' attribute is not taken into account! It see