Re: [Django] #36864: Add support for modules to import_string()

6 views
Skip to first unread message

Django

unread,
Jun 9, 2026, 4:16:45 PMJun 9
to django-...@googlegroups.com
#36864: Add support for modules to import_string()
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Leland
| Boeman
Type: New feature | Status: assigned
Component: Core (Management | Version: 5.2
commands) |
Severity: Normal | Resolution:
Keywords: import_string, | Triage Stage: Accepted
submodule |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_docs: 1 => 0

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

Django

unread,
Jul 10, 2026, 4:49:52 PM (11 hours ago) Jul 10
to django-...@googlegroups.com
#36864: Add support for modules to import_string()
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Leland
| Boeman
Type: New feature | Status: assigned
Component: Utilities | Version: 5.2
Severity: Normal | Resolution:
Keywords: import_string, | Triage Stage: Ready for
submodule | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* component: Core (Management commands) => Utilities
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36864#comment:19>

Django

unread,
Jul 10, 2026, 6:02:09 PM (9 hours ago) Jul 10
to django-...@googlegroups.com
#36864: Add support for modules to import_string()
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Leland
| Boeman
Type: New feature | Status: closed
Component: Utilities | Version: 5.2
Severity: Normal | Resolution: fixed
Keywords: import_string, | Triage Stage: Ready for
submodule | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

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

Comment:

In [changeset:"65a9f14196c338d70889bd54753370606b3fb4eb" 65a9f141]:
{{{#!CommitTicketReference repository=""
revision="65a9f14196c338d70889bd54753370606b3fb4eb"
Fixed #36864 -- Supported modules and submodules in import_string().

Before, only submodules worked (and only if already imported). Now,
all modules work regardless of prior import state.

Updated expected exception in auth tests where import_string() returns
a non-callable.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36864#comment:20>
Reply all
Reply to author
Forward
0 new messages