Skip to content

Conversation

@aclark4life
Copy link
Owner

@aclark4life aclark4life commented Nov 12, 2025

Existing approaches to "no count" pagination do not seem to include support for pagination in the Django admin, so:

  • Subclass Django's core Paginator

    • override count
  • Subclass Django's contrib admin view ChangeList.get_results

    • Use len instead of count
    • Ruff fixes for try/except
  • Subclass Django's contrib ModelAdmin

    • override get_paginator
    • override get_changelist

Existing approaches to "no count" pagination do not seem to include
support for pagination in the Django admin, so:

- Subclass Django's core Paginator
  - override count

- Subclass Django's contrib admin view ChangeList.get_results
  - Use len instead of count
  - Ruff fixes for try/except

- Subclass Django's contrib ModelAdmin
  - override get_paginator
  - override get_changelist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants