Hi Gergo,

appadmin has nothing to do with t2 and t2 was deprecated long ago.

I guess you can still define db.post.represent but I am not sure what
do you want to do with it. What behavior do you expect? Can you
provide a concrete example?


On Jan 7, 9:31 am, "KONTRA, Gergely" <pihent...@gmail.com> wrote:
> Yes, AFAIK appadmin is a T2 thing.
>
> So, I wonder how can one rewrite the line below using
> db.post.represent (still that is more flexible)
>
> db.define_table('post',
>     Field('title',length=256),
>     Field('body','text',requires=IS_NOT_EMPTY()),
>     Field('author',db.auth_user),
>     format='%(title)s')
>
> db.post.represent = ?
>
> thanks
> Gergo
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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