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