-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Django 1.0 Website Development

The administration interface provided by Django is very powerful and flexible. Activating it only takes a couple of minutes, and this will give you a fully featured administration kit for your site. Although the administration application should be sufficient for most needs, Django offers several ways to customize and enhance it. In addition to specifying which models are available in the administration interface, you can also specify how listing pages are presented. You can even override the templates used to render the administration pages. So let's learn about these features.
As we saw in the previous section, we defined admin classes in a file called admin.py
to mark data models as available in the administration interface. These classes are also useful in customizing several aspects of the administration pages.
Let's learn about this with examples. The listing page of bookmarks displays the string representation of each...
Change the font size
Change margin width
Change background colour