Opened 3 years ago

Closed 3 years ago

#19709 closed Bug (fixed)

FIELD_TYPE.TIME missing in interspection.py for mysql

Reported by: eugene.grachev@… Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The file django/db/backends/mysql/introspection.py has no FIELD_TYPE.TIME for TimeField in data_types_reverse on 10 row.

data_types_reverse = {

...
FIELD_TYPE.TIME: 'TimeField',
...

}

Change History (2)

comment:1 Changed 3 years ago by claudep

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 3c0a81aaf0a4ba675f80d50c788aea706d0c812c:

Fixed #19709 -- Fixed TimeField introspection on MySQL

Thanks Eugene Grachev for the report.

Note: See TracTickets for help on using tickets.
Back to Top