Skip to content

Commit

Permalink
Changelog and docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read authored and smotornyuk committed Jun 16, 2019
1 parent 587c606 commit 0470702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/lib/navl/validators.py
Expand Up @@ -72,6 +72,8 @@ def ignore(key, data, errors, context):
raise StopOnError

def default(default_value):
'''When key is missing or value is 'empty', set it with a default value.
See the code for how 'empty' is defined.'''

def callable(key, data, errors, context):

Expand Down

0 comments on commit 0470702

Please sign in to comment.