Source

django-basic-events / sample_project / settings_production.py

from sample_project.settings import *
from sample_project.passwords import *

DEBUG = False
TEMPLATE_DEBUG = DEBUG
SERVE_STATIC_MEDIA = DEBUG

URL_PREFIX = ''
MEDIA_URL = '/%smedia/' % URL_PREFIX
ADMIN_MEDIA_PREFIX = '/%sadmin-media/' % URL_PREFIX

ADMINS = (
    ('Caktus Team', 'team@caktusgroup.com'),
)
MANAGERS = ADMINS

DATABASE_ENGINE = 'postgresql_psycopg2'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = ''             # Or path to database file if using sqlite3.
DATABASE_USER = ''             # Not used with sqlite3.
DATABASE_HOST = ''

"""
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
CACHE_MIDDLEWARE_SECONDS = 120
CACHE_MIDDLEWARE_KEY_PREFIX = ''
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
"""