[Zope] ZSQL and Python Script
tom smith
tom@othermedia.com
Mon, 21 May 2001 17:14:28 +0100
When I call ZSQL Methods from a python script, I don't seem to be able to
get the attribute values passed in properly. My script kinda goes like
this...
answer = context.REQUEST['answer']
Thingy = something_else
context.create_answer_sql(answer=answer, thingy=thingy)
...and the values don't turn up in the database if I use <dtmlsql-var answer
type=string> but do if I use <dtml-var answer>, but then the quote escaping
fails..
I assume this is a namespace problem, any ideas on how to fix it?
Thanks
tom