mise-en-production
[auf_framonde.git] / project / settings / 99-custom.py
CommitLineData
6837e829
PH
1# -*- encoding: utf-8 -*-
2
3SESSION_COOKIE_NAME = 'sessionid_framonde_auf_org'
4
5# Rapports d'erreurs
6SERVER_EMAIL = 'ne-pas-repondre@auf.org'
04c9bfe4 7EMAIL_SUBJECT_PREFIX = '[Framonde]'
6837e829
PH
8EMAIL_HOST = 'localhost'
9EMAIL_PORT = 587
10EMAIL_USE_TLS = True
11
12SITE_ID = '1'
13
14ROOT_URLCONF = 'project.urls'
15
16INSTALLED_APPS += (
90cca69f 17 'project.framonde',
07419fc5
PH
18# 'project.contact',
19 'tinymce',
6837e829
PH
20 'south',
21)
22
23SOUTH_TESTS_MIGRATE = False
24
25LOGGING = {
26 'version': 1,
27 'disable_existing_loggers': True,
28 'root': {
29 'level': 'WARNING',
30 'handlers': ['sentry'],
31 },
32 'formatters': {
33 'verbose': {
34 'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
35 },
36 },
37 'handlers': {
38 'sentry': {
39 'level': 'WARNING',
40 'class': 'raven.contrib.django.handlers.SentryHandler',
41 },
42 'console': {
43 'level': 'DEBUG',
44 'class': 'logging.StreamHandler',
45 'formatter': 'verbose'
46 }
47 },
48 'loggers': {
49 'django.db.backends': {
50 'level': 'ERROR',
51 'handlers': ['console'],
52 'propagate': False,
53 },
54 'raven': {
55 'level': 'DEBUG',
56 'handlers': ['console'],
57 'propagate': False,
58 },
59 'sentry.errors': {
60 'level': 'DEBUG',
61 'handlers': ['console'],
62 'propagate': False,
63 },
64 },
65}
66
67TINYMCE_DEFAULT_CONFIG = {
68 'theme': "advanced",
69 'theme_advanced_buttons1' : "formatselect,|,bold,italic,underline,|,bullist,numlist,|,undo,redo,|,link,unlink,image,|,backcolor,|removeformat,visualaid,code,",
70 'theme_advanced_buttons2' : "",
71 'theme_advanced_buttons3' : "",
72 'theme_advanced_statusbar_location' : "bottom",
73 'theme_advanced_toolbar_align' : "left",
74 'width' : "800",
75 'height' : "200",
76 'theme_advanced_resizing' : "true",
77 'custom_undo_redo_levels': 10,
78 'theme_advanced_toolbar_location' : 'top',
79}