Hi all,

I have a master entity Entry and a detail entity Variant. I created the csv file with a column named variant in Entry that is of type list of Variant. In the Variant class (of the csv file) I have entry of type Entry

In my code:

entry = Entry()
# set several attributes, then
entry.addToVariant(someVariant),


sometime later in the code I do: store.saveChanges()

In my database I have entryID in Variant. After I execute the above code, I have a bunch of different Variants with the same EntryID! This is not helpful. Any ideas on what might have gone wrong? The type of entryID is int(10) if that helps any.

Thanks,

Robert Gottlieb
[EMAIL PROTECTED]




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to