Tested with 1.11rc1 and 1.10 (Python 3.6).
I don't now if the Travis rule is able to select RC1 or if it follows the pip convention (so to replace by 1.11rc1 in waiting for stable release).
The change DatabaseWrapper._cursor() -> .cursor() will now generate server side cursors in Django 1.11 for iterator(). Cf django/django#7587
Our unit tests are slightly slower (about 8%) with Django 1.11 (6.30s) than Django 1.10 (5.84s) but I don't know why.
Note: benchmarks are just best of 5 runs on my computer, unit tests doesn't represent real cases....
I ran into the issues this PR fixes while trying to get a Django 1.11 project off the ground... is there anything I can do to help move it along? Thanks.
Tested with 1.11rc1 and 1.10 (Python 3.6). I don't now if the Travis rule is able to select RC1 or if it follows the pip convention (so to replace by 1.11rc1 in waiting for stable release).
The change DatabaseWrapper._cursor() -> .cursor() will now generate server side cursors in Django 1.11 for iterator(). Cf django/django#7587
Our unit tests are slightly slower (about 8%) with Django 1.11 (6.30s) than Django 1.10 (5.84s) but I don't know why.
Note: benchmarks are just best of 5 runs on my computer, unit tests doesn't represent real cases....