Re: Make redirection customizable in ModelAdmin view

2011-05-04 Thread Julien Phalip
On May 4, 4:13 pm, Yishai Beeri wrote: > +1 on breaking backwards compatibility, defaulting the arg to None. Just a note. Defaulting to None in itself does not break compatibility. Defaulting to None allows to do the url reversal from inside response_add. But then the

Re: Make redirection customizable in ModelAdmin view

2011-05-04 Thread Yishai Beeri
+1 on breaking backwards compatibility, defaulting the arg to None. However, in [1] Julien suggests to also allow a callable - which I think would be very useful, and provide all the flexibility one would need. So IMHO: - if arg is callable, call it with signature as suggested in [1] - if

Re: Make redirection customizable in ModelAdmin view

2011-05-03 Thread Julien Phalip
On May 4, 10:59 am, Dario Ocles wrote: > Hello everybody. > > Ramiro Morales and me were working on this ticket #15294 [0] and > Julien linked this one #8001 [1]. We had a little discussion about two > possible solution for #8001 and Julien suggested that we should hear >

Make redirection customizable in ModelAdmin view

2011-05-03 Thread Dario Ocles
Hello everybody. Ramiro Morales and me were working on this ticket #15294 [0] and Julien linked this one #8001 [1]. We had a little discussion about two possible solution for #8001 and Julien suggested that we should hear your opinion (you can read all comments on ticket #15294). The discussion