Sending email | Django documentation | Django
docs.djangoproject.com › en › 4This is the default backend. Email will be sent through a SMTP server. The value for each argument is retrieved from the matching setting if the argument is None: host: EMAIL_HOST; port: EMAIL_PORT; username: EMAIL_HOST_USER; password: EMAIL_HOST_PASSWORD; use_tls: EMAIL_USE_TLS; use_ssl: EMAIL_USE_SSL; timeout: EMAIL_TIMEOUT; ssl_keyfile: EMAIL_SSL_KEYFILE
AttributeError: 'function' object has no attribute
https://stackoverflow.com/questions/45108812__call__ is one of Python's special names inside an object. In this code where I wrote equiparmour(1) it's practically like writing equiparmour(1).__call__(1).But the lovely thing is that equiparmour is an object.Unlike a function it can have properties (and other methods). This means that although I couldn't set a property such as armourEquipped in a function I can in an …