Opened 7 months ago

Last modified 7 months ago

#35372 closed Cleanup/optimization

Obsolete code in django\core\mail\__init__.py ? — at Initial Version

Reported by: Danic Owned by: nobody
Component: Core (Mail) Version: 5.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I found the following comment in django\core\mail\init.py

# Imported for backwards compatibility and for the sake
# of a cleaner namespace. These symbols used to be in
# django/core/mail.py before the introduction of email
# backends and the subsequent reorganization (See #10355)

#10355 relates to Django 1. As it's out of support, it maybe doesn't make sense to keep the backwards compatibility. Would it make sense to have a look at that file and check what of the code can be removed or if the commend should be updated?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top