1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

set postgresql in config file

This commit is contained in:
Jean-Baptiste Holcroft 2017-09-19 10:57:08 +02:00
parent c3b5cc6061
commit ce19b2bbd9

View file

@ -38,7 +38,7 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
# Database engine
'ENGINE': 'django.db.backends.mysql',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
# Database name
'NAME': '__NAME__',
# Database user
@ -49,13 +49,6 @@ DATABASES = {
'HOST': '',
# Set to empty string for default
'PORT': '',
# Additional database options
'OPTIONS': {
# In case of older MySQL server which has default MariaDB
# 'init_command': "SET storage_engine=INNODB; ",
# If your server supports it, see Unicode issues above
'charset': 'utf8mb4',
}
}
}