django icon indicating copy to clipboard operation
django copied to clipboard

Fixed #3461 -- Made DatabaseWrapper.cursor() able to pass args/kwargs to the underlying database adapter.

Open auvipy opened this issue 6 years ago • 15 comments

created a cleaner pr from https://github.com/django/django/pull/8121

working on better docs and release notes

auvipy avatar Feb 08 '18 07:02 auvipy

@carltongibson I am quite at a loss about how should I write docs for this patch as suggested in older pr. any help would be appreciated

auvipy avatar Feb 25 '18 15:02 auvipy

@auvipy OK. I shall have a look. (In the meantime fancy fixing the isort error?)

carltongibson avatar Feb 26 '18 08:02 carltongibson

I can fix the isort, and release note. but about the documentation I am quite not sure how to put them well and about wording/examples as I don't have proper real world use case right now to put some.

auvipy avatar Feb 26 '18 09:02 auvipy

... I don't have proper real world use case ...

Hmmm. This isn't a good sign. If there's no use-case, what are we trying to fix?(If there's an answer to that, surely that's the use-case?)

carltongibson avatar Feb 26 '18 10:02 carltongibson

well what I wanted to mean is I don't have to bypass django orm to use the lower level db connector/driver on a regular basis. but there should be users who need them

auvipy avatar Feb 26 '18 10:02 auvipy

Sure, on the ticket there's this:

For example, to use dict cursors in psycopg2 you have to pass a different cursor factory via the cursor_factory keyword argument to cursor()

Can you use something like that to create the examples needed? (I guess the same would go into test cases...)

carltongibson avatar Feb 26 '18 10:02 carltongibson

awh good catch! will try to come with something like that

auvipy avatar Feb 27 '18 08:02 auvipy

@carltongibson when is the feature freez for 2.1?

auvipy avatar May 15 '18 17:05 auvipy

Yesterday. This isn't close enough to squeeze in I think. If it's going to go it'll need to be 2.2

carltongibson avatar May 15 '18 19:05 carltongibson

ok I am retargeting 2.2 :( missed 3 version so far :(

auvipy avatar May 16 '18 07:05 auvipy

@auvipy It's 10 years old. There's no rush. 😃

For me the biggest thing here is the docs: what's this for? (What's the actual use-case?) From there I'm sure there's not too much to do.

carltongibson avatar May 16 '18 07:05 carltongibson

what is the appx date f feature freeze for 3.0? mid-Sept?

auvipy avatar Aug 27 '19 16:08 auvipy

@auvipy https://code.djangoproject.com/wiki/Version3.0Roadmap#schedule

ngnpope avatar Aug 27 '19 21:08 ngnpope

need to fix the merge conflict again + docs before april to get into 4.1 right? also want to know mergers input/thoughts of the suggestion made in https://github.com/django/django/pull/9674#discussion_r179945043

auvipy avatar Jan 13 '22 04:01 auvipy

https://code.djangoproject.com/wiki/Version4.1Roadmap#schedule

ngnpope avatar Jan 13 '22 08:01 ngnpope

This PR is stale. Closing due to inactivity.

felixxm avatar Mar 17 '23 07:03 felixxm