Skip to content

Commit

Permalink
[Fixes #5105] Error when using THESAURI
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book committed Oct 30, 2019
1 parent 7f0ad22 commit 0c9bab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/base/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, attrs=None):
for el in settings.THESAURI:
cleaned_name = el['name'].replace("-", " ").replace("_", " ").title()
widget_list.append(
autocomplete_light.MultipleChoiceWidget(
autocomplete_light.widgets.MultipleChoiceWidget(
'thesaurus_' + el['name'],
attrs={'placeholder': '%s - Start typing for suggestions' % cleaned_name},
extra_context={'thesauri_title': cleaned_name}))
Expand Down

0 comments on commit 0c9bab5

Please sign in to comment.