Heyho, On May 7, 10:01 pm, Marty Alchin <gulop...@gmail.com> wrote: > It's not explicitly related to the MRO and method stuff you and Alex > have been working on, but it's definitely related to the r9766 > discussion, since it's caused by the delayed saving. I have a clear > understanding of the problem, but I don't have time to write it up at > the moment, so I'll try to catch you guys on IRC if you're still up > when I get home. Florian Apolloner just wrote a patch for that and attached it to the ticket.
> That only solves the problem if you're trying to access the file's > contents, which I'll admit is the majority case. Other apps may need > the filename for other reasons, though, and it was available in 1.0, > so the current behavior is backwards-incompatible. Of course, all the > uses I can think of would actually be better as post_save handlers > anyway, but the fact is that compatibility was broken, so we should > see if we can restore it. There are not many situations where you would need the filename of the thing in the pre-save command. If we can collect some situations where this would be useful it makes sense to think about it. I personally think it was a design mistake in the first place and should be changed to the behavior it's showing currently. Regards, Armin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---