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

Django 1.0 Website Development

Though this chapter is relatively short, we learned how to implement a lot of things. This emphasizes the fact that Django lets you do a lot with only a few lines of code. You learned how to utilize Django's powerful administration interface, customize it, and take advantage of the comprehensive permission system.
Here is a quick summary of the features covered in this chapter.
Activating the administration interface consists of the following steps:
Add the django.contrib.admin
application to INSTALLED_APPS
in the settings.py
file
Run the manage.py
syncdb
command to create the administration application tables
Add URL entries for the administration pages to the urls.py
file
For each model that you want to manage through the administration interface, add a corresponding admin class and register it in the admin.py
file
You can customize listing pages in the administration interface by adding one or more of the following fields to the admin class: list_display
, list_filter
, ordering
, and search_fields...
Change the font size
Change margin width
Change background colour