mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #16592 -- More test changes and documentation to account for MySQL's casual relationship with sanity. Thanks to Jim Dalton for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -61,6 +61,13 @@ If your database table name is an SQL reserved word, or contains characters that
|
||||
aren't allowed in Python variable names -- notably, the hyphen -- that's OK.
|
||||
Django quotes column and table names behind the scenes.
|
||||
|
||||
.. admonition:: Use lowercase table names for MySQL
|
||||
|
||||
It is strongly advised that you use lowercase table names when you override
|
||||
the table name via ``db_table``, particularly if you are using the MySQL
|
||||
backend. See the :ref:`MySQL notes <mysql-notes>` for more details.
|
||||
|
||||
|
||||
``db_tablespace``
|
||||
-----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user