diff --git a/pandora/app/config.py b/pandora/app/config.py index bbe15994..b20686c3 100644 --- a/pandora/app/config.py +++ b/pandora/app/config.py @@ -96,7 +96,7 @@ def load_config(init=False): for key in config['documentKeys']: if key['id'] in default_filters and not key.get('filter'): key['filter'] = True - sys.stderr.write('enabled filter for documeny key "%s" since its used as default filter.\n' % (key['id'])) + sys.stderr.write('enabled filter for document key "%s" since its used as default filter.\n' % (key['id'])) config['keys'] = {} for key in config['itemKeys']: diff --git a/pandora/document/views.py b/pandora/document/views.py index 083090ee..2cc080e6 100644 --- a/pandora/document/views.py +++ b/pandora/document/views.py @@ -439,7 +439,7 @@ def upload(request): def autocompleteDocuments(request, data): ''' - Returns autocomplete strings for a given documeny key and search string + Returns autocomplete strings for a given document key and search string takes { key: string, // document key value: string, // search string