# HG changeset patch # User Brian Neal # Date 1284852992 0 # Node ID 0a875f679f075989c33c8c70554544c4a2d6abd9 # Parent 6ed2932901fa2d273f1c6643001b86fd9d84bd16 Cleaning up setings.py prior to deploying beta site. diff -r 6ed2932901fa -r 0a875f679f07 gpp/settings.py --- a/gpp/settings.py Sat Sep 18 19:54:11 2010 +0000 +++ b/gpp/settings.py Sat Sep 18 23:36:32 2010 +0000 @@ -104,7 +104,6 @@ # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. os.path.join(project_path, 'templates'), - '/home/brian/coding/python/django/django-elsewhere/elsewhere/templates', ) TEMPLATE_CONTEXT_PROCESSORS = ( @@ -178,14 +177,13 @@ ####################################################################### if local_settings.USE_CACHE: CACHE_BACKEND = local_settings.CACHE_BACKEND - #CACHE_MIDDLEWARE_SECONDS = local_settings.CACHE_MIDDLEWARE_SECONDS - #CACHE_MIDDLEWARE_KEY_PREFIX = local_settings.CACHE_MIDDLEWARE_KEY_PREFIX - #CACHE_MIDDLEWARE_ANONYMOUS_ONLY = local_settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY + CACHE_MIDDLEWARE_SECONDS = local_settings.CACHE_MIDDLEWARE_SECONDS + CACHE_MIDDLEWARE_KEY_PREFIX = local_settings.CACHE_MIDDLEWARE_KEY_PREFIX + CACHE_MIDDLEWARE_ANONYMOUS_ONLY = local_settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY ####################################################################### # Sessions ####################################################################### -#SESSION_ENGINE = "django.contrib.sessions.backends.db" SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" SESSION_COOKIE_AGE = 2 * 7 * 24 * 60 * 60 # 2 weeks in seconds SESSION_COOKIE_DOMAIN = None