Skip to content

Commit 0ac9827

Browse files
committed
encoding diff snippet updated
1 parent d9f902e commit 0ac9827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ DATABASES = {
2727
**Note**: Since Django uses the `UTF-8` charset and it points to `utf8mb3` in MySQL and this charset is deprecated in MySQL 8, you may need to add `{"charset": "utf8mb4"}` and migrate your chanegs with no problem.
2828

2929
```diff
30-
-'OPTIONS': {'ssl': {'ca': os.environ.get('MYSQL_ATTR_SSL_CA')}}
31-
+'OPTIONS': {'ssl': {'ca': os.environ.get('MYSQL_ATTR_SSL_CA')}, 'charset': 'utf8mb4'}
30+
- 'OPTIONS': {'ssl': {'ca': ...}}
31+
+ 'OPTIONS': {'ssl': {'ca': ...}, 'charset': 'utf8mb4'}
3232
```
3333

3434
### Requirements

0 commit comments

Comments
 (0)