1
# Django settings for djopenid project.
10
warnings.warn("Could not import OpenID library. Please consult the djopenid README.")
14
TEMPLATE_DEBUG = DEBUG
17
# ('Your Name', 'your_email@domain.com'),
22
DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
23
DATABASE_NAME = '/tmp/test.db' # Or path to database file if using sqlite3.
24
DATABASE_USER = '' # Not used with sqlite3.
25
DATABASE_PASSWORD = '' # Not used with sqlite3.
26
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
27
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
29
# Local time zone for this installation. All choices can be found here:
30
# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
31
TIME_ZONE = 'America/Chicago'
33
# Language code for this installation. All choices can be found here:
34
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
35
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
36
LANGUAGE_CODE = 'en-us'
40
# Absolute path to the directory that holds media.
41
# Example: "/home/media/media.lawrence.com/"
44
# URL that handles the media served from MEDIA_ROOT.
45
# Example: "http://media.lawrence.com"
48
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
50
# Examples: "http://foo.com/media/", "/media/".
51
ADMIN_MEDIA_PREFIX = '/media/'
53
# Make this unique, and don't share it with anybody.
54
SECRET_KEY = 'u^bw6lmsa6fah0$^lz-ct$)y7x7#ag92-z+y45-8!(jk0lkavy'
56
# List of callables that know how to import templates from various sources.
58
'django.template.loaders.filesystem.load_template_source',
59
'django.template.loaders.app_directories.load_template_source',
60
# 'django.template.loaders.eggs.load_template_source',
63
MIDDLEWARE_CLASSES = (
64
'django.middleware.common.CommonMiddleware',
65
'django.contrib.sessions.middleware.SessionMiddleware',
66
'django.contrib.auth.middleware.AuthenticationMiddleware',
67
'django.middleware.doc.XViewMiddleware',
70
ROOT_URLCONF = 'djopenid.urls'
73
os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates')),
77
'django.contrib.contenttypes',
78
'django.contrib.sessions',