I think you might have to dereference r. Something like r[0].odo since queries 
return a set even if there's only one element.

Reply via email to