data_capture/email.py
File email.py
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import re
from functools import wraps
from django.core.mail import EmailMultiAlternatives, get_connection
from django.utils.html import strip_tags
from django.utils import timezone
Function send_mail
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_mail(subject, to, template, ctx, reply_to=None):