From: Ian B. <ia...@co...> - 2004-08-25 15:43:49
|
paul wrote: > whenever I try to reload a module where I have a class derived from > SQLObject defined I get: You can't reload SQLObject modules. Reloading in Python is funky, and it means that every class in that module is duplicated. Since SQLObject resolves foreign key references by name (e.g., ForeignKey('ClassName')), it would cause problems when there existed two classes with the same name. Worse yet when one of those classes is obsolete. -- Ian Bicking / ia...@co... / http://blog.ianbicking.org |