restless
restless copied to clipboard
Django: fixes pagination parameter
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.
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. =]