﻿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
30036	Code example for using Paginator in a view makes redundant imports	bhch	nobody	"The code example in this section: 
[https://docs.djangoproject.com/en/2.1/topics/pagination/#using-paginator-in-a-view Using Paginator in a view] imports `EmptyPage` and `PageNotAnInteger` unnecessarily since `Paginator.get_page()` handles these exceptions internally.

I had to spend some time figuring out why these were imported and never used. I even thought the code example might be incomplete, until I checked the source code. 

I think it's better to remove these imports as they leave the reader confused. "	Cleanup/optimization	closed	Documentation	2.1	Normal	fixed			Accepted	0	0	0	0	0	0
