[ckan-changes] [okfn/ckan] f835be: [#1705] Begin implementing vocabularies model
GitHub
noreply at github.com
Tue Jan 24 17:47:45 UTC 2012
Branch: refs/heads/feature-1698-tag-taxonomies
Home: https://github.com/okfn/ckan
Commit: f835bed50f34653c5226ed6da1feddc373cbfb4d
https://github.com/okfn/ckan/commit/f835bed50f34653c5226ed6da1feddc373cbfb4d
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-01-24 (Tue, 24 Jan 2012)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/lib/dictization/model_save.py
M ckan/logic/action/create.py
M ckan/logic/action/get.py
M ckan/model/__init__.py
A ckan/model/vocabulary.py
A ckan/tests/functional/api/model/test_vocabulary.py
Log Message:
-----------
[#1705] Begin implementing vocabularies model
Add new domain class ckan/model/vocabulary.py:Vocabulary, maps to new
vocabulary table in db.
Add vocabulary_dictize() and vocabulary_list_dictize() functions to
model_dictize.py.
Add vocabulary_dict_save() function to model_save.py
Add vocabulary_create() logic function to logic/action/create.py. Needs
authorization.
Add vocabulary_list() and vocabulary_show() logic functions to
logic/action/get.py. These need authorization as well.
Add 'vocabulary_id' column to tag.
Add the beginnings of tests for the new vocabulary model in
ckan/tests/functional/api/model/test_vocabulary.py.
More information about the ckan-changes
mailing list