Answer the question
In order to leave comments, you need to log in
Why is haystack throwing an error?
I pass the request itself to the get view with a request and from which to which line to pull out.
args['items'] = SearchQuerySet().filter(тут запрос)[from_items:to_items]
Answer the question
In order to leave comments, you need to log in
For some inexplicable reason, it was necessary to wrap from_items in int (). Programming is magic
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question