Changed the code to use a dictionary.

class PlotboxTable(TableBase):
    __model__ = Plotbox
    __omit_fields__ = ['plotbox_id', 'password', 'netmask', '__actions__']
    __add_fields__ = {'config_zip_url':None}
    #__xml_fields__ = ['config_zip_url']
    __xml_fields__ = {'config_zip_url':None}

The config_zip_url is still being escaped.

Can __add_fields__ be __xml_fields__ too?


-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/oJ_FT5aERNUJ.
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