To store emojis in MariaDB/MySQL for an existing table using the default/bad collation: ALTER TABLE your_table_name CONVERT TO character set utf8mb4 collate utf8mb4_unicode_ci; In Django's settings .py: 'OPTIONS': { 'charset': 'utf8mb4', } NOTE: collation name and charset are slightly different.
0 reposts2 likes