Re: Permission hooks in class-based views

2011-02-19 Thread fordprefect
> > The intention for 1.3 was to get a class-based view framework in place > that could serve as a replacement for the existing function-based > generic views. Since the function-based generics don't have > permissions, neither does the initial iteration of class-based views. That's fair

Re: Permission hooks in class-based views

2011-02-19 Thread Russell Keith-Magee
On Sat, Feb 19, 2011 at 6:28 PM, fordprefect wrote: > Hi, looking at the new class-based views for 1.3, there doesn't appear > to be an easy way to add row-level permission hooks to the views (as > one can do in ModelAdmin). It seems a strange omission as this should > be

Permission hooks in class-based views

2011-02-19 Thread fordprefect
Hi, looking at the new class-based views for 1.3, there doesn't appear to be an easy way to add row-level permission hooks to the views (as one can do in ModelAdmin). It seems a strange omission as this should be quite straightforward and is an extremely common use-case. For example, if I have a