Hello list,

I am a long time fan of tgCRUD and have been using it in my tg 1.0.xx
projects. I have been trying out tg2 (checked out trunk)
Anyone have some pointers to get started for customizing the code
outputted by crud work for tables with 'many to many' relation (ie:
tg_user >- user_group -< tg_group)?
I have been looking at the dbsprockets and dbmechanic code to
understand it more.
Some parameters like limitFields parameters from makeTable,  dont get
passed to makeView?
I am not sure if it is a bug or something,
Although I am still not successful solving the error I mentioned
previously :)

TIA,
Dax

On May 12, 12:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > Added info:
> > On display (/user/list), I am getting a NoSuchColumnError: "Could not
> > locate column in row for column 'tg_groups'"
>
> > dakila wrote:
> > > Hello,
>
> > > I quickstarted a project on tg2, setup the db and created a controller
> > > using crud for tg_user (paster crud -m User).
> > > However, I am getting a NoSuchColumnError: "Could not locate column in
> > > row for column 'tg_groups'".
>
> In this case you could comment out the #dbmachanic = xxx... column in
> root.py,
> and browsehttp://..../dbmachanicto manipulate tg_user.
>
> crud is fit for simpler schema usage, you need more skill to customize
> crud for relational column.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to