Première version : mise en route du suivi.
[auf_savoirs_en_partage_django.git] / auf_savoirs_django / settings.py
1
2 import os
3
4 ADMINS = (
5 # ('Your Name', 'your_email@domain.com'),
6 )
7
8 MANAGERS = ADMINS
9
10 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
11 DATABASE_NAME = 'auf_savoirs_django.db'
12 DATABASE_USER = '' # Not used with sqlite3.
13 DATABASE_PASSWORD = '' # Not used with sqlite3.
14 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
15 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
16
17 TIME_ZONE = 'America/Chicago'
18
19 LANGUAGE_CODE = 'en-us'
20
21 # Absolute path to the directory that holds media.
22 # Example: "/home/media/media.lawrence.com/"
23 MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
24
25 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
26 # trailing slash if there is a path component (optional in other cases).
27 # Examples: "http://media.lawrence.com", "http://example.com/media/"
28 MEDIA_URL = '/media/'
29
30 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
31 # trailing slash.
32 # Examples: "http://foo.com/media/", "/media/".
33 ADMIN_MEDIA_PREFIX = '/admin_media/'
34
35 # Don't share this with anybody.
36 SECRET_KEY = 'k5m_cyht&ipi!nbxng9-5zc!4_q84opflhsn#d3%^3=9gm44tt'
37
38 MIDDLEWARE_CLASSES = (
39 'django.middleware.common.CommonMiddleware',
40 'django.contrib.sessions.middleware.SessionMiddleware',
41 'django.contrib.auth.middleware.AuthenticationMiddleware',
42 'django.middleware.doc.XViewMiddleware',
43 )
44
45 ROOT_URLCONF = 'auf_savoirs_django.urls'
46
47
48 INSTALLED_APPS = (
49 'django.contrib.auth',
50 'django.contrib.contenttypes',
51 'django.contrib.sessions',
52 'django.contrib.admin',
53 )
54
55 TEMPLATE_LOADERS = (
56 'django.template.loaders.filesystem.load_template_source',
57 'django.template.loaders.app_directories.load_template_source',
58 )
59
60 TEMPLATE_DIRS = (
61 os.path.join(os.path.dirname(__file__), "templates"),
62 )
63
64