Skip to content

Commit

Permalink
[#2939] Schema fixes for legacy templates to work
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 5, 2012
1 parent b396cbc commit f3cb0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/logic/schema.py
Expand Up @@ -127,8 +127,6 @@ def default_package_schema():
'resources': default_resource_schema(),
'tags': default_tags_schema(),
'extras': default_extras_schema(),
'owner_org': [ignore_missing, unicode],
'private': [ignore_missing, boolean_validator],
'relationships_as_object': default_relationship_schema(),
'relationships_as_subject': default_relationship_schema(),
'groups': {
Expand All @@ -154,6 +152,8 @@ def default_update_package_schema():
schema["name"] = [ignore_missing, name_validator, package_name_validator, unicode]
schema["title"] = [ignore_missing, unicode]

schema['owner_org'] = [ignore_missing, unicode]
schema['private'] = [ignore_missing, boolean_validator]
return schema

def package_form_schema():
Expand Down

0 comments on commit f3cb0a5

Please sign in to comment.