-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allows to pass queryset with select_related #2
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate a bit on what you ran into/are trying to do here. It's been a LONG time since I've been in this code and my reading of it now it's not clear why the filter needs to be removed. Iirc only _field
is involved with the token and that section is looking for the reverse (go back to the previous page) token so selecting only the column involved in the token is sufficient, the rest of the object isn't useful. Again been several years so may be mis-remembering.
I would like pass
|
Hrm. That's an interesting case. The reason that's there is to avoid having to fully load/serialize the previous page's objects, instead just grabbing the field their paginated with. Removing that only will cause them to all be loaded up and deserialized, and if using a To avoid the extra overhead/hurting the performance of the common/existing case I believe it'd be preferable to add in an extra parameter to the constructor, |
No description provided.