Comments (5)
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.
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.
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.
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.
Merged in #145, thanks @benmehlman for the patch!
from django-pyodbc.
Related Issues (20)
- aggregate_select() removed in Django 1.10 HOT 2
- OpenEdge support not working in master. Some basic fixes here
- django.core.exceptions.ImproperlyConfigured: Django 1.11 is not supported. HOT 4
- Please update for Django 1.11.1 HOT 5
- Conversion failed when converting date and/or time from character string. HOT 2
- pyodbc.DataError: Conversion failed when converting da te and/or time from character string HOT 1
- SchemaEditor error HOT 1
- unixODBC config files HOT 1
- Using for dbf files HOT 1
- Django 2.0 Alpha inspectdb command fails
- django-pyodbc query with OFFSET+LIMIT issue
- Active maintainer needed HOT 9
- No default encoding (2.0.0a1) HOT 3
- Error: SchemaEditorClass HOT 1
- Different schemas in models.py HOT 1
- django odbc connection to production SQL server 2014 from windows machine HOT 1
- Help in setting up connection with load balancer HOT 1
- Sql server 2019 connection string issue from django project HOT 1
- Database error conection using django-pyodbc to connect to SQL Server 2019 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-pyodbc.