Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
ipv6-dot-work
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
ungleich-public
ipv6-dot-work
Commits
b4bf9318
Commit
b4bf9318
authored
Nov 16, 2018
by
Aatish Neupane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configurable database backend
parent
081e1140
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.env.sample
.env.sample
+2
-0
ipv6work/settings.py
ipv6work/settings.py
+2
-2
No files found.
.env.sample
View file @
b4bf9318
DEBUG=True
DISABLE_IPV4_BLOCK=False
DATABASE_BACKEND='django.db.backends.postgresql'
DATABASE_NAME='app'
ALLOWED_HOSTS=.localhost, .ipv6.work
AUTH_LDAP_SERVER_URI=ldap://<ldap_host>
AUTH_LDAP_BIND_DN=cn=admin,dc=example,dc=com
...
...
ipv6work/settings.py
View file @
b4bf9318
...
...
@@ -102,8 +102,8 @@ WSGI_APPLICATION = 'ipv6work.wsgi.application'
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.sqlite3'
,
'NAME'
:
os
.
path
.
join
(
BASE_DIR
,
'db.sqlite3'
),
'ENGINE'
:
config
(
'DATABASE_BACKEND'
,
default
=
'django.db.backends.sqlite3'
)
,
'NAME'
:
config
(
'DATABASE_NAME'
,
default
=
os
.
path
.
join
(
BASE_DIR
,
'db.sqlite3'
)
),
}
}
...
...
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