Première version : mise en route du suivi.
[auf_savoirs_en_partage_django.git] / auf_savoirs_django / settings.py
CommitLineData
155a7c62
CR
1
2import os
3
4ADMINS = (
5 # ('Your Name', 'your_email@domain.com'),
6)
7
8MANAGERS = ADMINS
9
10DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
11DATABASE_NAME = 'auf_savoirs_django.db'
12DATABASE_USER = '' # Not used with sqlite3.
13DATABASE_PASSWORD = '' # Not used with sqlite3.
14DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
15DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
16
17TIME_ZONE = 'America/Chicago'
18
19LANGUAGE_CODE = 'en-us'
20
21# Absolute path to the directory that holds media.
22# Example: "/home/media/media.lawrence.com/"
23MEDIA_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/"
28MEDIA_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/".
33ADMIN_MEDIA_PREFIX = '/admin_media/'
34
35# Don't share this with anybody.
36SECRET_KEY = 'k5m_cyht&ipi!nbxng9-5zc!4_q84opflhsn#d3%^3=9gm44tt'
37
38MIDDLEWARE_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
45ROOT_URLCONF = 'auf_savoirs_django.urls'
46
47
48INSTALLED_APPS = (
49 'django.contrib.auth',
50 'django.contrib.contenttypes',
51 'django.contrib.sessions',
52 'django.contrib.admin',
53)
54
55TEMPLATE_LOADERS = (
56 'django.template.loaders.filesystem.load_template_source',
57 'django.template.loaders.app_directories.load_template_source',
58)
59
60TEMPLATE_DIRS = (
61 os.path.join(os.path.dirname(__file__), "templates"),
62)
63
64