﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29389	Make Paginator reject non-integer page numbers of type float	Nicolas Noé	Nicolas Noé	"According to the docs, the PageNotAnInteger exception is raised when page() is given a value that isn’t an integer.

However, we can see that floats are silently converted to integers:


{{{
from django.core.paginator import Paginator
objects = ['john', 'paul', 'george', 'ringo']
p = Paginator(objects, 2)
p.page(1.2)
<Page 1 of 2>
}}}

If accepted, I'm willing to provide a patch.

"	Bug	closed	Core (Other)	2.0	Normal	fixed			Accepted	1	0	0	0	0	0
