Re: [Django] #36252: Duplicate entries in automatic imports in Django Shell

9 views
Skip to first unread message

Django

unread,
Mar 13, 2025, 10:09:26 AMMar 13
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: new
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: shell | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Clifford Gama):

Thanks Rafaella for the follow-up and Natalia for testing. Indeed, I get
duplicate entries without isort.
--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 14, 2025, 12:43:05 PMMar 14
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: new
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: shell | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Raffaella):

Thank you Natalia for the investigation work
--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:9>

Django

unread,
Mar 17, 2025, 1:05:39 PMMar 17
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: new
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: shell | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:10>

Django

unread,
Mar 17, 2025, 1:05:46 PMMar 17
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: new
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: shell | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:11>

Django

unread,
Mar 17, 2025, 3:29:37 PMMar 17
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: shell | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):

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

Comment:

In [changeset:"e804a07d76fc85468f27f7130ae1442fabcd650d" e804a07]:
{{{#!CommitTicketReference repository=""
revision="e804a07d76fc85468f27f7130ae1442fabcd650d"
Fixed #36252 -- Handled duplicate automatic imports in the shell command.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:12>

Django

unread,
Mar 17, 2025, 3:30:55 PMMar 17
to django-...@googlegroups.com
#36252: Duplicate entries in automatic imports in Django Shell
-------------------------------------+-------------------------------------
Reporter: Raffaella | Owner: hesham
| hatem
Type: Bug | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: shell | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

In [changeset:"1d8696bfc6bf6af72b8452298d3e4c7bd43613c3" 1d8696bf]:
{{{#!CommitTicketReference repository=""
revision="1d8696bfc6bf6af72b8452298d3e4c7bd43613c3"
[5.2.x] Fixed #36252 -- Handled duplicate automatic imports in the shell
command.

Backport of e804a07d76fc85468f27f7130ae1442fabcd650d from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36252#comment:13>
Reply all
Reply to author
Forward
0 new messages