Opened 7 years ago
Closed 7 years ago
#29572 closed Bug (duplicate)
Cancel the dependency on MySQLdb
| Reported by: | BobDu | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 2.0 |
| Severity: | Release blocker | Keywords: | mysql |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Python 3 does not support the use of the MySQLdb package, but still uses MySQLdb in Django, I think it should be replaced by pymysql by default.
Attachments (1)
Change History (2)
by , 7 years ago
comment:1 by , 7 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Django recommends installing mysqlclient which is Python 3 compatible.
See also #29242 for PyMySQL support.
Note:
See TracTickets
for help on using tickets.
This is the repair file ./django/django/db/backends/mysql/base.py