-
Book Overview & Buying
-
Table Of Contents
Django 1.0 Template Development
Django simplifies the process of creating data-driven applications and provides a flexible, modular approach to web development. In contrast to many other web application frameworks, Django is full stack, which means it contains all the libraries and packages necessary to create applications. Because the pieces were designed as a whole, you can develop using them with the confidence that they will all work well together. One of these pieces is the Django template system that allows output to be formatted in a flexible, consistent, and maintainable fashion.
In this chapter we will:
Learn what templates are and why you should use them
Review how Django handles requests
Learn the syntax used in the templating system
Set up a demo application that we will use throughout this book
Change the font size
Change margin width
Change background colour