On 11/5/05, Michele Cella <[EMAIL PROTECTED]> wrote:
> I think once the forms/widgets system system settles down it would be
> pretty easy to code a generic CRUDController you can inherit from to
> accomplish repetitive tasks (just like django generics view). I haven't
> looked at how CatWalk python side is designed bu it would be nice if
> they could share some code to avoid duplications.
>
> I'm thinking about something like this:
>
> def News(CRUDController):
>      model = ...
>
> maybe it's too magic? It's only an idea, it's also important to make it
> easily customizable and simple, we should have a script to generate the
> controller, kid templates and unit test.

That's exactly what I was thinking of.

Kevin

Reply via email to