You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: