Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ connection_class
Method
connection_class
django/core/mail/backends/smtp.py:101–102 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
99
100
@property
101
def
connection_class(self):
102
return
smtplib.SMTP_SSL
if
self.use_ssl
else
smtplib.SMTP
103
104
@cached_property
105
def
ssl_context(self):
Callers
1
open
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected