Create/update/delete generic views dynamic redirect

2010-07-20 Thread Alberto Donato
Hi all, since I needed to be able to redirect to a named URL based on the target object in CRUD views, I wrote a simple patch to allow a callable as post_save_redirect/post_delete_redirect (http:// code.djangoproject.com/ticket/13953). I think this is very useful to be able to use named URLs, o

Re: Default manager

2008-12-16 Thread Alberto Donato
On Tue, Dec 16, 2008 at 3:44 PM, James Bennett wrote: > > On Mon, Dec 15, 2008 at 4:51 AM, Alex Rades wrote: >> my understanding about custom managers is that if you want to define a >> custom manager, you also HAVE to remember to define the "objects" >> manager first, otherwise some parts of dj