Hi folks,
I have two packages which are colliding. I'm doing:
from foo import Objects as JuryObjects
from bar import Objects as OptimusObjects
Now, both "JuryObjects" and "OptimusObjects" have a class "Language" (they
each have their own database). I get this error:
ValueError: class Language is already in the registry (other class is <class
'foo.Objects.Language'>, from the module foo.Objects in ~foo/Objects.pyc;
attempted new class is <class 'bar.Objects.Language'>, from the module
bar.Objects in ~bar/Objects.pyc)
Is there any way to have the same name for this class?
Also, if I change one of the Language classes, will it work for me to import
from two different databases?
Thanks
Dobromir
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss