Git Product home page Git Product logo

Comments (5)

dlo avatar dlo commented on August 15, 2024

Hi Ben! Thanks for the report. I'd be happy to merge a PR. Have you tested this change with older versions of Django? Thanks!

from django-pyodbc.

benmehlman avatar benmehlman commented on August 15, 2024

I haven't checked with other versions but can easily do a 'git blame' to find out what version of Django added that argument. In our environment we are doing a huge leap from django 1.6 to 1.10 hence discovering this problem.

Is there a minimum version of django you want to keep django-pyodbc compatible with? I could recode this passing **kwargs instead of an explicit argument so that it would have more backward compatibility...

Thanks!

from django-pyodbc.

benmehlman avatar benmehlman commented on August 15, 2024

Hi Dan, having looked a little more into this now it unfortunately not that simple.. this particular method was changed in django 1.8, then changed BACK in django 1.11.. so django-pyodbc is broken with django 1.8, 1.9, and 1.10 but now isn't broken anymore due to them undoing the change in django.

So although this particular problem disappears in 1.11, if it's desired for django-pyodbc to retain compatibility with 1.8-1.10 then it would be necessary to change this patch to use **kwargs so that it will pass the extra arguments if they are present, and if not, do nothing.

If that's ok with you.

from django-pyodbc.

RossRogers avatar RossRogers commented on August 15, 2024

Based on @benmehlman comment and lack of other comments I am closing this ticket and taggit it "wont-fix". If this is an unacceptable outcome, please put your comments below.

from django-pyodbc.

dlo avatar dlo commented on August 15, 2024

Merged in #145, thanks @benmehlman for the patch!

from django-pyodbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.