Open cawal opened 3 years ago
When a user pass the p parameter in query, Django returns a string. The string needs to be casted to integer in order to be used in the paginator. Otherwise, the response returns BadRequest.
p
Good job @cawal! I need this bug fix. 😊 @toastdriven and other contributors: would you please accept this PR?
We need to rebase and to get tests running. I'm not sure why the tests are not running.
Rebased. =]
When a user pass the
p
parameter in query, Django returns a string. The string needs to be casted to integer in order to be used in the paginator. Otherwise, the response returns BadRequest.