What steps will reproduce the problem?
1. Follow steps in the README
2. Render a paginated list on a page which doesn't include the request
object in the context (which is the default case on the Django trunk)
3. Receive a KeyError on line 73 of pagination_tags.py
What version of the product are you using? On what operating system?
I'm on OS X using the Django trunk and the django-pagination trunk. I can
resolve the problem by including the request object in the context I'm
passing the renderer from my view, like so:
render_to_response('news/index.html', {'request': request, 'stories':
recent_stories})
Please provide any additional information below.
Thanks for providing this code! Even with the hiccups it's great!
Original issue reported on code.google.com by trevorfs...@gmail.com on 17 Jul 2008 at 4:28
Original issue reported on code.google.com by
trevorfs...@gmail.com
on 17 Jul 2008 at 4:28