mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fix #740
This commit is contained in:
@@ -31,6 +31,7 @@ DBCONN_TPL = """
|
||||
'PASSWORD': '{% if PASSWORD %}{{ PASSWORD }}{% endif %}',
|
||||
'HOST': '{% if HOST %}{{ HOST }}{% endif %}',
|
||||
'PORT': '{% if PORT %}{{ PORT }}{% endif %}',
|
||||
'ATOMIC_REQUESTS': True,
|
||||
{% if ENGINE == 'django.db.backends.mysql' %}'OPTIONS' : {
|
||||
"init_command" : 'SET foreign_key_checks = 0;',
|
||||
},{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user