-
Book Overview & Buying
-
Table Of Contents
Django 1.0 Template Development
We will use our ongoing press application to experiment with the pagination library. Before we start, let's make sure that the application is set up properly, in case you've been skipping around chapters. If you've been following along, then you can skim through the next few sections that make sure your application is set up properly. But pay close attention to the URL listings to make sure that yours match the ones we're using.
You should have an application called press located at /projects/mycompany/press. If you don't, run this command in the /projects/mycompany directory:
$ python manage.py startapp pressYou should now have a /projects/mycompany/press directory.
Make sure that the application is listed in your mycompany/settings.py file in the INSTALLED_APPS tuple:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',...
Change the font size
Change margin width
Change background colour