Skip to content

Commit f45ecaa

Browse files
committed
Update wording in SearchIndex get_model exception
Thanks to Greg Brown (@gregplaysguitar) for the patch Closes django-haystack#1223
2 parents 7631775 + 1d957c0 commit f45ecaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def get_model(self):
124124
125125
This method is required & you must override it to return the correct class.
126126
"""
127-
raise NotImplementedError("You must provide a 'model' method for the '%r' index." % self)
127+
raise NotImplementedError("You must provide a 'get_model' method for the '%r' index." % self)
128128

129129
def index_queryset(self, using=None):
130130
"""

0 commit comments

Comments
 (0)