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

Verifying our application setup


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.

Verifying the application

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 press

You should now have a /projects/mycompany/press directory.

Verifying the configuration

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',...