| Conditions | 1 |
| Total Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from django.http import HttpResponse |
||
| 18 | def text_mail_view(request): |
||
| 19 | recipients = ['[email protected]'] |
||
| 20 | TextEmailMessage(request).send(to=recipients) |
||
| 21 | return HttpResponse('Text mail has been sent.') |
||
| 22 | |||
| 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.