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:
parent
c3b5cc6061
commit
ce19b2bbd9
1 changed files with 1 additions and 8 deletions
|
@ -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',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue