[kforge-dev] Changeset [88]: Sort out License domain object. * trunk/ckan/models/__init__.py: ...

28: Timeline admin at okfn.org
Mon Feb 12 21:02:00 UTC 2007


Sort out License domain object. * trunk/ckan/models/init.py: 

  * [DomainModel?][1]: create all OSI approved licenses, 3 OKD compliant licenses and a non-compliant license item in init() 

* trunk/ckan/models/package.py 

  * License: add 'name' attribute and [RelatedJoin?][2] packages 
  * Package: add [RelatedJoin?][2] to License 
  * generally add _defaultOrder = 'name' where appropriate 

* trunk/ckan/tests/models/test_package.py: add [TestLicense?][3] and [TestPackageWithLicense?][4]

    [1]: http://project.knowledgeforge.net/ckan/trac/wiki/DomainModel
    [2]: http://project.knowledgeforge.net/ckan/trac/wiki/RelatedJoin
    [3]: http://project.knowledgeforge.net/ckan/trac/wiki/TestLicense
    [4]: http://project.knowledgeforge.net/ckan/trac/wiki/TestPackageWithLicense

URL: http://project.knowledgeforge.net/ckan/trac/changeset/88




More information about the kforge-dev mailing list