#35372: Obsolete code in django\core\mail\__init__.py ?
-------------------------------------+-------------------------------------
Reporter: Danic | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core (Mail) | Version: 5.0
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by David Sanders):
I don't think we should remove these imports for a couple of reasons:
1. Some of them are documented as being imported from `django.core.mail`,
eg `SafeMIMEText` here: https://docs.djangoproject.com/en/5.0/topics/email
/#emailmessage-objects
2. There's no real harm in having some default imports? 🤔
If anything maybe we could remove the comment? 🤔
--
Ticket URL: <https://code.djangoproject.com/ticket/35372#comment:1>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018edbcd2d2b-3f48fb4a-8649-4eba-8d05-fb22df13308c-000000%40eu-central-1.amazonses.com.