Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Keel - LDH Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liberty
host
Keel - LDH Middleware
Commits
794d0e8a
Commit
794d0e8a
authored
Jun 09, 2017
by
David Seaward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos in settings keys
parent
3e3db53d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
conf/config.ini
conf/config.ini
+0
-1
conf/secret.ini
conf/secret.ini
+1
-2
purist_account/settings.py
purist_account/settings.py
+4
-2
No files found.
conf/config.ini
View file @
794d0e8a
...
...
@@ -12,4 +12,3 @@ AUTH_LDAP_SERVER_URI=ldap://ldap.example.com
AUTH_LDAP_START_TLS
=
True
AUTH_LDAP_BIND_DN
=
cn=admin,dc=example,dc=com
AUTH_LDAP_USER_SEARCH_BASE_DN
=
ou=people,dc=example,dc=com
conf/secret.ini
View file @
794d0e8a
[settings]
# note that % must be escaped as %%
SECRET_KEY
=
random_key
DJANGO_
SECRET_KEY
=
random_key
AUTH_LDAP_BIND_PASSWORD
=
ldap_password
purist_account/settings.py
View file @
794d0e8a
...
...
@@ -15,8 +15,8 @@ from decouple import Config, Csv, RepositoryIni
# LOAD CONFIGURATION FILE
#
config
=
Config
(
RepositoryIni
(
'/etc/opt/
account_website
/config.ini'
))
secret_config
=
Config
(
RepositoryIni
(
'/etc/opt/
account_website
/secret.ini'
))
config
=
Config
(
RepositoryIni
(
'/etc/opt/
purist_account
/config.ini'
))
secret_config
=
Config
(
RepositoryIni
(
'/etc/opt/
purist_account
/secret.ini'
))
#
# SECURITY
...
...
@@ -93,3 +93,5 @@ DATABASES = {
}
DATABASE_ROUTERS
=
[
'ldapdb.router.Router'
]
STATIC_ROOT
=
config
(
"STATIC_ROOT"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment