#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 Jacob Walls):
Replying to [comment:15 Leland Boeman]:
> If we adopt this behavior, I think it would be helpful to users to call
out this case in the docs. It could also be argued that equivalence to
`from module import x` noted in the docs is enough of an explanation.
I think we should make the priority explicit in the docs. Nice catch, Tim!
> I have some house keeping updates and some comments on the PR to
address, but wanted to check if this all seems agreeable before
proceeding.
+1 for going with the least breaking change when implementing this new
feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/36864#comment:16>
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/0107019e890d892c-07f1e583-b818-478e-82d3-5059b09d6867-000000%40eu-central-1.amazonses.com.