Re: [Django] #33602: date_hierarchy in admin reports an error with mysql-connector-python 8.0.28. (was: when use date_hierarchy in admin, it report a error. django 3.2.12, mysql-connector-python8.0.28, mysql server 8.0.28)

13 views
Skip to first unread message

Django

unread,
Mar 28, 2022, 12:36:21 AM3/28/22
to django-...@googlegroups.com
#33602: date_hierarchy in admin reports an error with mysql-connector-python
8.0.28.
-------------------------------------+-------------------------------------
Reporter: Eric Pan | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

Everything works fine with the recommended
[https://docs.djangoproject.com/en/4.0/ref/databases/#mysql-db-api-
drivers-1 mysqlclient] driver. `mysql-connector-python` includes its
[https://dev.mysql.com/doc/connector-python/en/connector-python-django-
backend.html own adapter] `'mysql.connector.django'` which may not support
the most recent releases of Django (as
[https://docs.djangoproject.com/en/4.0/ref/databases/#mysql-connector-
python-1 documented]). You can try to report this issue in MySQL
bugtracker.

--
Ticket URL: <https://code.djangoproject.com/ticket/33602#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages