define charsets for db backed apps

This commit is contained in:
Joel Falknau 2024-09-03 12:27:50 +10:00
parent 4602097399
commit c34efebacf
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ DATABASES['phpbb3'] = {
'PASSWORD': 'password', 'PASSWORD': 'password',
'HOST': '127.0.0.1', 'HOST': '127.0.0.1',
'PORT': '3306', 'PORT': '3306',
'OPTIONS': {'charset': 'utf8mb4'},
} }
``` ```

View File

@ -25,6 +25,7 @@ DATABASES['smf'] = {
'PASSWORD': 'password', 'PASSWORD': 'password',
'HOST': '127.0.0.1', 'HOST': '127.0.0.1',
'PORT': '3306', 'PORT': '3306',
'OPTIONS': {'charset': 'utf8mb4'},
} }
``` ```