Heya

When creating classes with circular dependencies (via sqlobject-admin), there's a warning. This has been discussed before. While I don't propose a general solution to the problem, a simple workaround for self referring classes may be used.
In command.py, line 211 (sqlobject 0.12.1, in findReverseDependencies() ) change from:

if other not in depended:

to:

if other is not cls and other not in depended:

In the case of only self-referring classes, the ordering still makes sense this way.

Cheers,
Imri

--
Imri Goldberg
--------------------------------------
http://plnnr.com/ - automatic trip planning
http://www.algorithm.co.il/blogs/
--------------------------------------
-- insert signature here ----