fix error in example

p = Paginator(objects, 2, request=request)
Paginator(objects, per_page, request=request)
as for me Paginator(objects, request=request) doesn't work