-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
AdminRenderer does not work without pagination being enabled #3275
Comments
What's the error? |
Same error here. I use release 3.2.2. It occured when i give a list to a Response object as data.
It handles just KeyError and it is only for dict type data.
So, when data is a list type object, it makes like [1,2,3]['results'].
|
Thanks for raising this, folks! |
Attempting to load a view rendered with AdminRenderer results to server error, if no pagination class has been set up.
I assume that this should either be fixed or documented at http://www.django-rest-framework.org/api-guide/renderers/#adminrenderer.
The text was updated successfully, but these errors were encountered: