Skip to content

Commit e5b969a

Browse files
committed
Merge pull request django-haystack#1225 from gregplaysguitar/patch-1
fix: correct docstring for ModelSearchForm.get_models !minor
2 parents 3985719 + c0cfeec commit e5b969a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(self, *args, **kwargs):
9898
self.fields['models'] = forms.MultipleChoiceField(choices=model_choices(), required=False, label=_('Search In'), widget=forms.CheckboxSelectMultiple)
9999

100100
def get_models(self):
101-
"""Return an alphabetical list of model classes in the index."""
101+
"""Return a list of the selected models."""
102102
search_models = []
103103

104104
if self.is_valid():

0 commit comments

Comments
 (0)