in your db.py put:

db.tablename.exposes=['field1','field2']

only fields in [ ] will be shown

-wj

On Mon, Feb 9, 2009 at 8:41 AM, TakeTheStage <forthepo...@gmail.com> wrote:
>
> I'm using T3 and using t2.display to list individual records.
> Is there a way to remove certain fields from the display?
>
> Specifically, when displaying the record, I can see the model
> instance's id #, with this being the thing I wish to remove.
>
> This is the code I'm using to grab the record from my db:
>
> db.event1.represent=lambda event1: A(event1.title, _href=t2.action('/
> wiki/display', event1.id))
>
>
> Many thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to