Skip to content
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

Django rest missing DEFAULT_PAGINATION_CLASS #37

Open
disperate opened this issue Nov 30, 2018 · 0 comments
Open

Django rest missing DEFAULT_PAGINATION_CLASS #37

disperate opened this issue Nov 30, 2018 · 0 comments
Labels
backlog bug Something isn't working

Comments

@disperate
Copy link
Contributor

Describe the bug
When running the dev docker compose a rest framework warning is displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Run docker-compose -f docker-compose.dev.yml up --build
  2. Look at the output

Expected behavior
No warnings

Screenshots

You have specified a default PAGE_SIZE pagination rest_framework setting,without specifying also a DEFAULT_PAGINATION_CLASS.
The default for DEFAULT_PAGINATION_CLASS is None. In previous versions this was PageNumberPagination. If you wish to define PAGE_SIZE globally whilst defining pagination_class on a per-view basis you may silence this check.

Additional context

@disperate disperate added bug Something isn't working backlog labels Nov 30, 2018
@issue-sh issue-sh bot added this to the Sprint 4 milestone Nov 30, 2018
@disperate disperate changed the title django rest missing DEFAULT_PAGINATION_CLASS Django rest missing DEFAULT_PAGINATION_CLASS Jan 2, 2019
@disperate disperate removed this from the Sprint 4 milestone Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant