Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Belgian Biodiversity Platform
astapor
Commits
9bedb30d
Commit
9bedb30d
authored
Jun 08, 2017
by
Nicolas Noé
Browse files
Use PostgreSQL.
parent
6068a257
Changes
3
Hide whitespace changes
Inline
Side-by-side
requirements.txt
View file @
9bedb30d
Django
==1.11.2
pytz
==2017.2
\ No newline at end of file
psycopg2
==2.7.1
pytz
==2017.2
website/website/settings.py
View file @
9bedb30d
...
...
@@ -116,4 +116,4 @@ USE_TZ = True
STATIC_URL
=
'/static/'
from
settings_local
import
*
\ No newline at end of file
from
.settings_local
import
*
\ No newline at end of file
website/website/settings_local.template.py
View file @
9bedb30d
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'XXXX'
\ No newline at end of file
SECRET_KEY
=
'XXXX'
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
# Use PostgreSQL for this project
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.postgresql'
,
'USER'
:
'mydatabaseuser'
,
'NAME'
:
'mydatabase'
,
},
}
\ No newline at end of file
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