Book Image

Django 1.0 Template Development

Book Image

Django 1.0 Template Development

Overview of this book

Table of Contents (17 chapters)
Django 1.0 Template Development
Credits
About the Author
About the Reviewers
Preface
Index

Summary


In this chapter, we learned how to break our result sets into smaller pieces with the pagination library. We configured our press application and populated it with enough records to test out the concepts using the interactive Django shell. We looked at the properties of the Paginator and Page objects, and what their values represent.

We put these concepts into practice in a view, and built a template with the appropriate navigation to view the pages that made up our results set. Finally, we explored how to use pagination when using generic views.

In the next chapter, we will learn how to customize the look and feel of the automatic admin application.