Sunday November 01, 2009 at 22:09
Subject: Setting up Pagination in Django
Keywords:
Django, Python, Recipe
Posted by: Sean Reifschneider
I've been using Django for some personal projects recently, and mostly
I've been liking it just fine. However, I've had a bit of trouble with
figuring out how to do some of the things I want to do. The documentation
seems to lead to things like class documentation rather than examples of
use, and the class documentation is really only a part of the story.
For example, one of the first things I wanted to implement on my
photoblog was pagination. However, the documentation I could find was
of fairly limited use, without creating a bunch of supplemental code
myself. Which is what I did.
However, I then found a snippet on DjangoSnippets which lead me down
the right path for doing the pagination much easier.
I've written up what I've found as an article on setting
up pagination in Django.
(Post Reply)
(Post Reply)