[ckan-changes] [okfn/ckan] 6f7b96: [#1775, #1776] Add tag_create() logic action functi...

GitHub noreply at github.com
Wed Feb 8 15:28:00 UTC 2012


  Branch: refs/heads/feature-1698-tag-taxonomies
  Home:   https://github.com/okfn/ckan
  Commit: 6f7b965d39534bfaa80e7ad3f638d8b4b46010e1
      https://github.com/okfn/ckan/commit/6f7b965d39534bfaa80e7ad3f638d8b4b46010e1
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-08 (Wed, 08 Feb 2012)

  Changed paths:
    M ckan/lib/dictization/model_save.py
  M ckan/logic/action/create.py
  M ckan/logic/auth/create.py
  M ckan/logic/schema.py
  M ckan/tests/functional/api/model/test_vocabulary.py

  Log Message:
  -----------
  [#1775,#1776] Add tag_create() logic action function.

Lets you create either a free tag or a tag that belongs to a vocab.

Add tag_dict_save() to model_save.py.

Add tag_create() to logic/action/create.py and logic/auth/create.py.

Add default_create_tags_schema() to schema.py.

Add a simple functional test to test_vocabulary.py. More tests needed.





More information about the ckan-changes mailing list