[django/django] f0d3dd: Fixed #23357 -- Added small int introspection supp...

2 views
Skip to first unread message

GitHub

unread,
Aug 27, 2014, 11:00:06 AM8/27/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: f0d3dd4f04efa49e0b58da4847cb89770b59d4a8
https://github.com/django/django/commit/f0d3dd4f04efa49e0b58da4847cb89770b59d4a8
Author: Jon Dufresne <jon.du...@gmail.com>
Date: 2014-08-27 (Wed, 27 Aug 2014)

Changed paths:
M django/db/backends/mysql/base.py
M django/db/backends/mysql/introspection.py
M tests/introspection/models.py
M tests/introspection/tests.py

Log Message:
-----------
Fixed #23357 -- Added small int introspection support to MySQL backend.

In the MySQL backend, updated the can_introspect_small_integer feature
flag to True. In data_types_reverse, map FIELD_TYPE.SHORT to a
SmallIntegerField. Added test to verify introspecting SmallIntegerFields
and fixed existing tests influenced by this change.


Reply all
Reply to author
Forward
0 new messages