DefaultUserAdapter
format_email_subject
Signature
format_email_subject(self, subject)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| subject | yes |
Returns
<class 'str'>
Source
server/vueda/user/adapters.py:115
render_mail
Signature
render_mail(self, template_prefix, context)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| template_prefix | yes | ||
| context | yes |
Source
server/vueda/user/adapters.py:80
send_mail
Signature
send_mail(self, to_email, to_name, code, context, origin, cc, bcc, reply_to, attachments, template_prefix)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| to_email | yes | ||
| to_name | yes | ||
| code | yes | ||
| context | yes | ||
| origin | yes | ||
| cc | yes | ||
| bcc | yes | ||
| reply_to | yes | ||
| attachments | yes | ||
| template_prefix | yes |
Source
server/vueda/user/adapters.py:121
send_sms
Signature
send_sms(self, to_number, to_name, code, context)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| to_number | yes | ||
| to_name | yes | ||
| code | yes | ||
| context | yes |
Source
server/vueda/user/adapters.py:178
dict {#dict}
dictionary for instance variables
weakref {#weakref}
list of weak references to the object
template_prefix_mapping
Source
server/vueda/user/adapters.py:73