Skip to content

Commit

Permalink
fixed simple backend for django 1.6, _fields was removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
justin caratzas committed Sep 27, 2013
1 parent 7bcde9e commit 4956486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/backends/simple_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def search(self, query_string, **kwargs):
for term in query_string.split():
queries = []

for field in model._meta._fields():
for field in model._meta.fields:
if hasattr(field, 'related'):
continue

Expand Down

0 comments on commit 4956486

Please sign in to comment.