>
>     def generic_read():
>            # Do all work here, get mydata, generate forms, pagination, 
> etc...
>

Well, that's the part we need to see. Is getting the data, generating the 
forms, pagination, etc. fairly generalized? Instead of having so many 
controllers and views, maybe you can get by with just one:

def read():
    table = request.args(0)
    # get data, generate forms, pagination, etc. based on value of table.
    return dict(...)

The URLs would then look like /default/read/modelA, /default/read/modelB, 
etc. The values "modelA" and "modelB" would be available in the controller 
as request.args(0).

Anthony

-- 



Reply via email to