#36864: Automatic shell imports cannot reliably handle submodules
-------------------------------------+-------------------------------------
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: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Leland Boeman):
I agree with your point, and I dislike the ambiguity. I think the answer
is follow Natalia's suggestion more closely, which I think mimics the
behavior of `from b import c` in the documentation. I did not understand
the nuance in behavior between how the import statements resolve their
targets.
Thanks for the feedback. I'll have some time tomorrow to dig into this
more.
--
Ticket URL: <https://code.djangoproject.com/ticket/36864#comment:14>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e7483c479-2c3b7693-05de-4801-b6a0-ef9a9ffc148d-000000%40eu-central-1.amazonses.com.