Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

benmehlman
Copy link

…ggregate_select

As reported by OrangeDog23 ( https://github.com/OrangeDog23 ) in issue #138 ( #138 ), django-pyodbc raises an AttributeError due to the removal of aggregate_select in django 1.10.

In order to get my django application working I've patched my fork of django-pyodbc as suggested by OrangeDog23 and the solution seems to work.

Unfortunately I do not have the required knowledge of django's database internals to be able to offer real assurance that this patch is sound. But it is working for me, and I have tried to make it as backward compatible as possible. Perhaps OrangeDog23 can comment as to the wisdom of including this patch into the project.

Thanks!
Ben Mehlman

Copy link

@original-montyskew original-montyskew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been using this patch daily for the last 3 months in connections to MS SQL server.

Code fits with broader style. Comments are reasonable.

@dlo
Copy link
Member

dlo commented Dec 22, 2017

There doesn't seem to be any downside to merging this patch in. Thanks @original-montyskew for the review and testimonial re: usage. New release going out in a few minutes. 👍

@dlo dlo merged commit eedefec into lionheart:master Dec 22, 2017
@dlo
Copy link
Member

dlo commented Dec 22, 2017

Also, thank you @benmehlman for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants