Skip to content

[chores] Standardized REST API pagination#217

Merged
nemesifier merged 2 commits into
masterfrom
utils-pagination
Jun 1, 2026
Merged

[chores] Standardized REST API pagination#217
nemesifier merged 2 commits into
masterfrom
utils-pagination

Conversation

@nemesifier

@nemesifier nemesifier commented Jun 1, 2026

Copy link
Copy Markdown
Member

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • N/A I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • N/A I have updated the documentation.

Reference to Existing Issue

References openwisp/openwisp-utils#586.

Description of Changes

Replaces endpoint-specific DRF paginator classes with the shared OpenWispPagination implementation introduced in openwisp/openwisp-utils#587.

This change reduces duplication and keeps pagination behavior consistent across OpenWISP modules.

Screenshot

N/A.

Replaced endpoint-specific DRF paginator classes with
the shared OpenWispPagination implementation where
equivalent settings were already in use.

This change reduces duplication and keeps pagination
behavior consistent across modules.
@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@nemesifier, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 7 minutes. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9c0cd80f-c8c3-43d3-91f3-97471af71143

📥 Commits

Reviewing files that changed from the base of the PR and between e7624bb and 638a521.

📒 Files selected for processing (1)
  • openwisp_ipam/api/views.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch utils-pagination

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nemesifier nemesifier self-assigned this Jun 1, 2026
@nemesifier nemesifier added the enhancement New feature or request label Jun 1, 2026
@nemesifier nemesifier moved this to Ready for review/testing in 26.06 Release Jun 1, 2026
@nemesifier
nemesifier merged commit ad096d4 into master Jun 1, 2026
16 checks passed
@nemesifier
nemesifier deleted the utils-pagination branch June 1, 2026 22:36
@github-project-automation github-project-automation Bot moved this from Ready for review/testing to Done in 26.06 Release Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant