boostrap
[ifgu.git] / project / settings.py
CommitLineData
7751bc47
OL
1# -*- encoding: utf-8 -*-
2
3import os
4import socket
5from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as \
6 DEFAULT_TEMPLATE_CONTEXT_PROCESSORS
7
8# Rapports d'erreurs
9SERVER_EMAIL = 'ne-pas-repondre@auf.org'
10EMAIL_SUBJECT_PREFIX = '[IFGU - %s] ' % socket.gethostname()
11ADMINS = (
12 ('Équipe ARI-SI', 'developpeurs@ca.auf.org'),
13)
14
15MANAGERS = ADMINS
16
17TIME_ZONE = 'America/Montreal'
18
19LANGUAGE_CODE = 'fr-ca'
20
21PROJECT_ROOT = os.path.dirname(__file__)
22SITE_ROOT = os.path.dirname(PROJECT_ROOT)
23
24MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'media')
25MEDIA_URL = '/media/'
26
27STATIC_ROOT = os.path.join(SITE_ROOT, 'sitestatic')
28STATIC_URL = '/static/'
29STATICFILES_DIRS = (
30 os.path.join(PROJECT_ROOT, 'static'),
31)
32
33ROOT_URLCONF = 'project.urls'
34
35INSTALLED_APPS = (
36 'admin_tools',
37 'admin_tools.theming',
38 'admin_tools.menu',
39 'admin_tools.dashboard',
40 'django.contrib.auth',
41 'django.contrib.contenttypes',
42 'django.contrib.sessions',
43 'django.contrib.admin',
44 'django.contrib.staticfiles',
45 'south',
46)
47
48TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_TEMPLATE_CONTEXT_PROCESSORS + (
49 'django.core.context_processors.static',
50 'django.core.context_processors.request',
51)
52
53
54TEMPLATE_DIRS = (
55 os.path.join(os.path.dirname(__file__), "templates"),
56)
57
58SOUTH_TESTS_MIGRATE = False
59
60ADMIN_TOOLS_INDEX_DASHBOARD = 'project.dashboard.CustomIndexDashboard'
61
62from conf import *