[Repoze-dev] instance-methods as views?

2009-07-13 Thread Alberto Valverde
Hello, I'm factoring out the core logic of a bunch of views into a generic CRUD controller for a bfg app which looks something like this: class GenericCrud(..): def __init__(self, bunch of configuration options): # update __dict__ with these options and some derived ones def

Re: [Repoze-dev] instance-methods as views?

2009-07-13 Thread Chris McDonough
On 7/13/09 7:59 AM, Alberto Valverde wrote: Hello, I'm factoring out the core logic of a bunch of views into a generic CRUD controller for a bfg app which looks something like this: class GenericCrud(..): def __init__(self, bunch of configuration options): # update __dict__