Bug #84410 Add proxy methods for Django 1.9+ operations. (contribution)
Submitted: 4 Jan 2017 18:36 Modified: 27 Mar 2017 14:57
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[4 Jan 2017 18:36] OCA Admin
Description:
This bug tracks a contribution by Brian Tyndall (Github user: Tyndie) as described in http://github.com/mysql/mysql-connector-python/pull/33

How to repeat:
See description

Suggested fix:
See contribution code attached
[4 Jan 2017 18:36] OCA Admin
Contribution submitted via Github - Add proxy methods for Django 1.9+ operations. 
(*) Contribution by Brian Tyndall (Github Tyndie, mysql-connector-python/pull/33#issuecomment-270357363): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_99950038.txt (text/plain), 1.49 KiB.

[5 Jan 2017 6:21] Chiranjeevi Battula
Hello Brian Tyndall,

Thank you for the report and contribution.

Thanks,
Chiranjeevi.
[27 Mar 2017 14:57] Paul DuBois
Posted by developer:
 
Noted in 2.1.6 changelog.

Methods for filtering time and datetime fields were changed in Django
1.9 from value_to_db_datetime to adapt_datetimefield_value and from
value_to_db_time to adapt_timefield_value. Proxy methods with the
previous names were added to Connector/Python ensure compatibility.
Thanks to Brian Tyndall for the patch.