-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocalsettings.py.example
More file actions
91 lines (72 loc) · 2.38 KB
/
localsettings.py.example
File metadata and controls
91 lines (72 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
from bdr_registry.settings import *
# DEBUG = TEMPLATE_DEBUG = True
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': './db.sqlite', # path to database file
# }
# }
# STATIC_ROOT = ''
# STATIC_URL = '/static/'
# SITE_URL = '/'
# LOGIN_REDIRECT_URL = SITE_URL
# SECRET_KEY = 'foo' # replace this with a random string
# BDR_REVERSE_PROXY = True # enable this when behind a reverse proxy
## email addresses
# BDR_HELPDESK_EMAIL = 'helpdesk@example.com'
# BDR_EMAIL_FROM = 'helpdesk@example.com'
# BDR_ORGEMAIL_ODS_BCC = ['foo@example.com', 'bar@example.com']
# BDR_ORGEMAIL_FGAS_BCC = ['foo@example.com', 'bar@example.com']
# BDR_ORGEMAIL_CARS_BCC = ['foo@example.com', 'bar@example.com']
# BDR_ORGEMAIL_VANS_BCC = ['foo@example.com', 'bar@example.com']
## email server
# EMAIL_BACKEND = 'post_office.EmailBackend'
# EMAIL_HOST = 'localhost'
# EMAIL_PORT = 25
## sentry configuration
# INSTALLED_APPS += ('raven.contrib.django',)
# RAVEN_CONFIG = {
# 'dsn': '',
# }
## authentication using LDAP
# AUTH_LDAP_SERVER_URI = "ldap://localhost:389/"
# AUTH_LDAP_BIND_DN = ""
# AUTH_LDAP_BIND_PASSWORD = ""
# AUTH_LDAP_BASE_DN = "o=EIONET,l=Europe"
#
# import ldap
# from django_auth_ldap.config import LDAPSearch
# AUTH_LDAP_USER_SEARCH = LDAPSearch(AUTH_LDAP_BASE_DN,
# ldap.SCOPE_SUBTREE,
# "(uid=%(user)s)")
#
# AUTH_LDAP_USER_ATTR_MAP = {
# "first_name": "givenName",
# "last_name": "sn",
# "email": "mail",
# }
#
# AUTHENTICATION_BACKENDS = (
# 'django_auth_ldap.backend.LDAPBackend',
# 'django.contrib.auth.backends.ModelBackend',
# 'frame.backends.FrameUserBackend',
# )
## remote user authentication
# FRAME_URL = 'https://bdr.eionet.europa.eu/ReportekUtilities/frame'
# FRAME_VERIFY_SSL = False
# FRAME_COOKIES = ['_ZopeId', 'sso', '__ginger_snap']
## credentials for updating LDAP accounts
# LDAP_EDIT_SERVER = _ldap_edit_server
# LDAP_EDIT_DN = 'joe'
# LDAP_EDIT_PASSWORD = secure_str('s3cr37')
## integration with BDR Zope application
# BDR_REPORTEK_ORGANISATION_URL = '#'
# BDR_API_URL = 'http://example.com/api'
# BDR_API_AUTH_USER = 'apiuser'
# BDR_API_AUTH_PASSWORD = 'apipassword'
# BDR_API_AUTH = (BDR_API_AUTH_USER, secure_str(BDR_API_AUTH_PASSWORD))
# BDR_AUDIT_LOG_FILE = './bdr_audit.log'
# REPORTING_YEAR = 2014
# RAVEN_CONFIG = {
# 'dsn': '',
# }