Revision 6370fdfb mupy/sample_local_settings.py
b/mupy/sample_local_settings.py | ||
---|---|---|
64 | 64 |
'django.contrib.auth.backends.ModelBackend', |
65 | 65 |
) |
66 | 66 |
|
67 |
# If defined as a string new users will belong in this group. Group must exist |
|
68 |
LDAP_AUTH_GROUP = None |
|
69 |
# Whether new users will have admin access |
|
70 |
LDAP_AUTH_IS_STAFF = False |
|
71 |
|
|
72 |
# how many days should we keep data in the db |
|
73 |
DATA_EXPIRES = '2' |
|
74 |
|
|
75 |
LDAP_AUTH_SETTINGS = ( |
|
76 |
{ 'url': 'ldap://ds.example.org/', 'base': 'dc=noc,dc=example,dc=org' }, |
|
77 |
) |
|
78 |
# If defined as a string new users will belong in this group. Group must exist |
|
79 |
LDAP_AUTH_GROUP = None |
|
80 |
# Whether new users will have admin access |
|
81 |
LDAP_AUTH_IS_STAFF = False |
|
82 |
|
|
83 |
|
|
84 | 67 |
# A sample logging configuration. The only tangible logging |
85 | 68 |
# performed by this configuration is to send an email to |
86 | 69 |
# the site admins on every HTTP 500 error when DEBUG=False. |
Also available in: Unified diff