Changes between Version 1 and Version 3 of Ticket #34067


Ignore:
Timestamp:
Oct 1, 2022, 7:04:45 AM (2 years ago)
Author:
Hristo Trendafilov
Comment:

Replying to Mariusz Felisiak:

Thanks for the report, however Paginator works for me. I'm also not sure why you're using _get_page() which is a private undocumented API. I don't think you've explained the issue in enough detail to confirm a bug in Django. Please reopen the ticket if you can debug your issue and provide details about why and where Django is at fault. If you're having trouble in debugging, see TicketClosingReasons/UseSupportChannels for ways to get help.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34067

    • Property Resolutionneedsinfo
    • Property Status newclosed
  • Ticket #34067 – Description

    v1 v3  
    6464But in the args of {{{Paginator._get_page}}} the queryset is totally different than expected / should be a slice from the first six elements of {{{Paginator.object_list}}} /
    6565
    66 I have tried to add a breakpoint like so [[Image(https://imgur.com/SdaQUt6)]]
     66I have added a breakpoint like so [[Image(https://imgur.com/SdaQUt6)]]. I do not use the method itself, just stopped the execution to check what data the `Page` class itself is called with.
     67
    6768Then I get this result [[Image(https://imgur.com/5zzLNV0)]].
    6869
Back to Top