Conditions | 1 |
Total Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from django.http import HttpResponse |
||
24 | def html_mail_view(request): |
||
25 | recipients = ['[email protected]'] |
||
26 | HTMLEmailMessage(request).send(to=recipients) |
||
27 | return HttpResponse('HTML mail has been sent.') |
||
28 | |||
34 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.