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 views and generic views can be used to display content. We explored how the URL dispatcher works and how it matches URLs to their associated view functions. We also learned how to pass data from the URL into our views using regular expressions. We built views to show a list of content and a content detail page, and then used generic views to reproduce that functionality.

In the next chapter, we will look at the Context, the object that makes variables from our view available to the template during rendering.