The EndlessPage object renders with RequestContext. Under this implementation, all context_processors are executed many times in a view. In my project, one context_processor even hits DB. This is a significant cost. As I saw, neither "current_link.html" nor "page_link.html" is using "request". So I think simply replacing RequestContext with Context will be an improvement.
hi guys, thanks for the great package. I want to suggest one improvement:
Referring to the last line of "endless_pagination/models.py/EndlessPage.unicode":
The EndlessPage object renders with RequestContext. Under this implementation, all context_processors are executed many times in a view. In my project, one context_processor even hits DB. This is a significant cost. As I saw, neither "current_link.html" nor "page_link.html" is using "request". So I think simply replacing RequestContext with Context will be an improvement.