alert.sh_desc is undefined

You could add a relation in your model for Item_alt (->Alert) so you
could have easily access to what you need
(item_alt.my_relation_to_alert.sh_desc)

Or you can do it the ugly way, replacing alert.sh_desc with something
like DBSession.query(Alert).filter(Alert.alert_id=item_alt.alert).one
().sh_desc


Christophe
-- 
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