Projet

Général

Profil

Télécharger (2,68 ko) Statistiques
| Branche: | Tag: | Révision:

mandayejs / debian / settings.py @ 2ecf06ef

1
# Configuration for mandayejs.
2
# You can override Mandayejs default settings here
3

    
4
# Mandayejs is a Django application: for the full list of settings and their
5
# values, see https://docs.djangoproject.com/en/1.7/ref/settings/
6
# For more information on settings see
7
# https://docs.djangoproject.com/en/1.7/topics/settings/
8

    
9
# WARNING! Quick-start development settings unsuitable for production!
10
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
11

    
12
# This file is sourced by "execfile" from /usr/lib/mandayejs/debian_config.py
13

    
14
# SECURITY WARNING: don't run with debug turned on in production!
15
DEBUG = False
16
TEMPLATE_DEBUG = False
17

    
18
#ADMINS = (
19
#        # ('User 1', 'watchdog@example.net'),
20
#        # ('User 2', 'janitor@example.net'),
21
#)
22

    
23
# ALLOWED_HOSTS must be correct in production!
24
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
25
ALLOWED_HOSTS = [
26
        '*',
27
]
28

    
29
# Databases
30
# Default: a local database named "mandayejs"
31
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
32
# Warning: don't change ENGINE
33
# DATABASES['default']['NAME'] = 'mandayejs'
34
# DATABASES['default']['USER'] = 'mandayejs'
35
# DATABASES['default']['PASSWORD'] = '******'
36
# DATABASES['default']['HOST'] = 'localhost'
37
# DATABASES['default']['PORT'] = '5432'
38

    
39
LANGUAGE_CODE = 'fr-fr'
40
TIME_ZONE = 'Europe/Paris'
41

    
42
# Email configuration
43
# EMAIL_SUBJECT_PREFIX = '[mandayejs] '
44
# SERVER_EMAIL = 'root@mandayejs.example.org'
45
# DEFAULT_FROM_EMAIL = 'webmaster@mandayejs.example.org'
46

    
47
# SMTP configuration
48
# EMAIL_HOST = 'localhost'
49
# EMAIL_HOST_USER = ''
50
# EMAIL_HOST_PASSWORD = ''
51
# EMAIL_PORT = 25
52

    
53
# HTTPS Security
54
# CSRF_COOKIE_SECURE = True
55
# SESSION_COOKIE_SECURE = True
56

    
57
# Site Config
58
SITE_DOMAIN =  'example.com'
59
SITE_LOGIN_PATH = '/login'
60
SITE_HOME_PATH = '/home' # Not required
61
SITE_CA_URL = '' # Citizen Account URL
62

    
63
SITE_LOCATORS = [
64
    {
65
        'id': '',    
66
        'label': '',
67
        'name': '',
68
        'kind': 'string',
69
        'required': True,
70
        'help': '',
71
    },
72
    {
73
        'id': '',
74
        'label': '',
75
        'name': '',
76
        'kind': 'date',
77
        'required': True,
78
        'help': 'exemple 16/06/2008'
79
    },
80
    {
81
        'id': '',
82
        'label': '',
83
        'name': '',
84
        'kind': 'password',
85
        'required': True,
86
        'help': ''
87
    },
88
]
89

    
90
# list of js scripts runing on every pages 
91
SITE_SCRIPTS = [
92
    'js/example.js',
93
]
94

    
95
# js/css script for the association page
96
SITE_ASSOCIATE_STATIC = {
97
    'js': 'js/example_associate.js',
98
    'css': 'css/example_associate.css'
99
}
100

    
101
# Mellon Settings
102
MELLON_IDENTITY_PROVIDERS = [
103
    {
104
        'METADATA_URL': 'https://authentic.example.com.entrouvert.org/idp/saml2/metadata'
105
    }
106
]
107

    
108
MELLON_VERIFY_SSL_CERTIFICATE = False
(16-16/16)