~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Holger Rapp
  • Date: 2009-02-25 18:41:03 UTC
  • Revision ID: sirver@h566336-20090225184103-gx1ucfy8rx27uioq
added gzip middleware, added 404 and 500 templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
)
59
59
 
60
60
MIDDLEWARE_CLASSES = (
 
61
    'django.middleware.gzip.GZipMiddleware', # Remove this, when load gets to high
61
62
    'django.middleware.common.CommonMiddleware',
62
63
    'django.contrib.sessions.middleware.SessionMiddleware',
63
64
    'django.contrib.auth.middleware.AuthenticationMiddleware',