Re: [Django] #34409: Examples of fetching raw SQL don't work for non-unique column names.

18 views
Skip to first unread message

Django

unread,
Mar 13, 2023, 4:59:14 PM3/13/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jesper Olsson):

* owner: nobody => Jesper Olsson
* status: new => assigned


Comment:

Sure, I'll have a go!

--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 14, 2023, 8:38:22 AM3/14/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:3>

Django

unread,
Mar 21, 2023, 3:05:34 AM3/21/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1
* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/16665 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:4>

Django

unread,
Mar 22, 2023, 2:20:07 PM3/22/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:5>

Django

unread,
Mar 22, 2023, 2:21:12 PM3/22/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: closed
Component: Documentation | Version: 4.1
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"216eb63883050f6a3bf5d306e42972e7a6b6dff5" 216eb638]:
{{{
#!CommitTicketReference repository=""
revision="216eb63883050f6a3bf5d306e42972e7a6b6dff5"
Fixed #34409 -- Doc'd limitation of dictfetchall() and
namedtuplefetchall() examples.

Co-authored-by: Mariusz Felisiak <felisiak...@gmail.com>
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:6>

Django

unread,
Mar 22, 2023, 2:24:03 PM3/22/23
to django-...@googlegroups.com
#34409: Examples of fetching raw SQL don't work for non-unique column names.
-------------------------------------+-------------------------------------
Reporter: Jesper Olsson | Owner: Jesper
Type: | Olsson
Cleanup/optimization | Status: closed
Component: Documentation | Version: 4.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"b0b769769e49745b124419d240294a47ce0ac6de" b0b76976]:
{{{
#!CommitTicketReference repository=""
revision="b0b769769e49745b124419d240294a47ce0ac6de"
[4.2.x] Fixed #34409 -- Doc'd limitation of dictfetchall() and
namedtuplefetchall() examples.

Co-authored-by: Mariusz Felisiak <felisiak...@gmail.com>
Backport of 216eb63883050f6a3bf5d306e42972e7a6b6dff5 from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34409#comment:7>

Reply all
Reply to author
Forward
0 new messages