Document that mysqlclient is also named MySQLdb

This commit is contained in:
Laurent Indermuehle 2023-01-26 14:01:56 +01:00
parent 16676373fa
commit 22481ed51b
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -23,6 +23,7 @@ try:
_mysql_cursor_param = 'cursor'
except ImportError:
try:
# mysqlclient is called MySQLdb
import MySQLdb as mysql_driver
import MySQLdb.cursors
_mysql_cursor_param = 'cursorclass'