Feature proposal: includeme feature for classes (not only modules)

2011-12-23 Thread Ahmed
Hello all and merry Christmas The documentation now says that the includeme callable for config.include is only to be used if you are including modules. But consider this case: class MyView(object): @classmethod def includeme(cls, config): config.add_view(cls,

Re: Feature proposal: includeme feature for classes (not only modules)

2011-12-23 Thread Chris McDonough
On Fri, 2011-12-23 at 21:43 -0800, Ahmed wrote: Hello all and merry Christmas The documentation now says that the includeme callable for config.include is only to be used if you are including modules. But consider this case: class MyView(object): @classmethod def