On May 20, 7:48 am, Alessandro Molina <[email protected]>
wrote:
> If I'm not wrong xml_fields has to be a dictionary even thought the
> value is not used.


http://moksha.csh.rit.edu/tg2tut/sprox/table.html

class DirectorMovieTable(TableBase):
    __model__ = Movie
    __omit_fields__ = ['movie_id', 'genre_id', '__actions__']
    __xml_fields__ = ['directors']
    __add_fields__ = {'related_movies':None}


I can try it as a dictionary.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.

Reply via email to