[kforge-dev] Changeset : Refactor package layout of models package. ...
admin at okfn.org
Mon Feb 26 20:15:06 UTC 2007
Refactor package layout of models package.
* models/base.py: create a base module and move [BaseRegistry?] there * models/init.py,
* move [DomainModel?] object from package to init
* change [DomainModel?] methods from being classmethods to instance methods
* don't have _Package in [DomainModel?] classes list
* instantiate one instance of [DomainModel?] and make avaiilable as dm
* tests/models/test_package.py: update to reflect above changes
More information about the kforge-dev