Hi,
First off, I'm a relative newby to twisted and I've just encountered my
first problem that i couldnt solve either via the docs or google.
I'm using twisted 2.0, python 2.4.1 on debian/testing
namely I'm attempting to use twisted.enterprise.row and add multiple
foreign kets to a RowObject. What i thought would work is the
following:
rowForeignKeys = [
("questions", [("question_id","int")], [("id_question","int")], None, 1),
("users", [("user_id","int")], [("id_user","int")], None, 1)…
[View More],
]
But, what i find works is when i only have one foreign reference in my
class. Both of the above ones are valid (see attached source), but only
the first one (questions) is actually used. If i comment out the
questions entry, leaving just "users" it works as expected.
I popped in some extra debug in Reflector.populateSchemaFor to verify
that it was processing both entries, and it appears to be so.
Does anyone else have a suggestion as to where I'm going wrong?
TIA
-v
--
keys: http://codex.net/gpg.asc
Nothing is true && everything is possible
[View Less]