Code

#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',
...

}

Attachments (0)

Change History (2)

comment:1 Changed 15 months 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 15 months 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.