@@ -29,8 +29,8 @@ truncation upon insertion, by escalating warnings into errors. It is strongly
29
29
recommended you activate it.
30
30
31
31
Docs:
32
- `MySQL <https://dev.mysql.com/doc/refman/en/sql-mode.html#sql-mode-strict >`_ /
33
- `MariaDB <https://mariadb.com/kb/en/mariadb/sql_mode/#strict-mode >`_ .
32
+ `MySQL <https://dev.mysql.com/doc/refman/en/sql-mode.html#sql-mode-strict >`__ /
33
+ `MariaDB <https://mariadb.com/kb/en/mariadb/sql_mode/#strict-mode >`__ .
34
34
35
35
It is configured as part of ``sql_mode ``, a system variable contains a list of
36
36
comma-separated modes to activate. Please check the value of your install and
@@ -73,8 +73,8 @@ Normally this just affects per-table settings for compression. It's recommended
73
73
you activate this, but it's not very likely to affect you if you don't.
74
74
75
75
Docs:
76
- `MySQL <https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_strict_mode >`_ /
77
- `MariaDB <https://mariadb.com/kb/en/mariadb/xtradbinnodb-strict-mode/ >`_ .
76
+ `MySQL <https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_strict_mode >`__ /
77
+ `MariaDB <https://mariadb.com/kb/en/mariadb/xtradbinnodb-strict-mode/ >`__ .
78
78
79
79
As above, the easiest way to set this is to add ``SET `` to ``init_command `` in
80
80
your ``DATABASES `` setting:
@@ -115,8 +115,8 @@ you'll never see any of these 'supplementary' Unicode characters (note: it's
115
115
very easy for users to type emoji on phone keyboards these days!).
116
116
117
117
Docs:
118
- `MySQL <https://dev.mysql.com/doc/refman/en/charset-unicode-utf8mb4.html >`_ /
119
- `MariaDB <https://mariadb.com/kb/en/mariadb/unicode/ >`_ .
118
+ `MySQL <https://dev.mysql.com/doc/refman/en/charset-unicode-utf8mb4.html >`__ /
119
+ `MariaDB <https://mariadb.com/kb/en/mariadb/unicode/ >`__ .
120
120
121
121
Also see this classic blogpost:
122
122
`How to support full Unicode in MySQL databases <https://mathiasbynens.be/notes/mysql-utf8mb4 >`_.
@@ -149,4 +149,4 @@ Note this does not transform the database, tables, and columns that already
149
149
exist. Follow the examples in the 'How to' blog post link above to fix your
150
150
database, tables, and character set. It's planned to add a command to
151
151
Django-MySQL to help you do this, see
152
- `Issue 216 <https://github.com/adamchainz/django-mysql/issues/216 >`_ .
152
+ `Issue 216 <https://github.com/adamchainz/django-mysql/issues/216 >`__ .
0 commit comments