#24659 closed Cleanup/optimization (fixed)
Docs of backends.smtp.EmailBackend: use_tls default should be False, not None
Reported by: | Thomas Güttler | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/1.8/topics/email/#smtp-backend
I don't understand why the defaults of the constructor are different from the defaults of the settings:
use_tls=None
use_ssl=None
The defaults of the settings are "False". Which is more intuitive since it is a boolean (AFAIK).
Attachments (1)
Change History (4)
comment:1 by , 10 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 10 years ago
Attachment: | 24659.diff added |
---|
Note:
See TracTickets
for help on using tickets.
Does the attached patch clarify how it works?