root/settings.py

Revision 7a1807f6c426bfb98a6db174ce148be0344be7a9, 1.5 kB (checked in by Stefano J. Attardi <stefano@…>, 5 months ago)

Compatibility with Django 1.0

  • Property mode set to 100755
Line 
1# Django settings for pangramming project.
2
3from local_settings import SECRET_KEY, DEBUG
4
5TEMPLATE_DEBUG = DEBUG
6
7ADMINS = (
8    ('Antonio Cavedoni', 'antonio@cavedoni.org'),
9)
10
11MANAGERS = ADMINS
12
13DATABASE_ENGINE = 'sqlite3'
14DATABASE_NAME = 'pangramming.sqlite3'
15
16TIME_ZONE = 'America/Chicago'
17
18LANGUAGE_CODE = 'en-us'
19
20SITE_ID = 1
21
22USE_I18N = True
23
24FORCE_SCRIPT_NAME = ''
25
26MEDIA_ROOT = 'media'
27
28MEDIA_URL = '/media/'
29
30ADMIN_MEDIA_PREFIX = '/media/admin/'
31
32TEMPLATE_LOADERS = (
33    'django.template.loaders.filesystem.load_template_source',
34    'django.template.loaders.app_directories.load_template_source',
35)
36
37MIDDLEWARE_CLASSES = (
38    'django.middleware.common.CommonMiddleware',
39    'django.contrib.sessions.middleware.SessionMiddleware',
40    'django.contrib.auth.middleware.AuthenticationMiddleware',
41    'django.middleware.doc.XViewMiddleware',
42    'middleware.openidmiddleware.OpenIDMiddleware',
43)
44
45ROOT_URLCONF = 'pangramming.urls'
46
47TEMPLATE_DIRS = (
48    'templates',
49)
50
51INSTALLED_APPS = (
52    'django.contrib.auth',
53    'django.contrib.contenttypes',
54    'django.contrib.sessions',
55    'django.contrib.sites',
56    'django.contrib.admin',
57    'django_openid',
58    'django_evolution',
59    'pangram',
60)
61
62TEMPLATE_CONTEXT_PROCESSORS = (
63    'django.core.context_processors.auth',
64    'django.core.context_processors.debug',
65    'django.core.context_processors.i18n',
66    'django.core.context_processors.media',
67    'django.core.context_processors.request',
68    'middleware.openidmiddleware.context_processor',
69)
Note: See TracBrowser for help on using the browser.