import logging

from djmodels.conf import settings
from djmodels.core.mail.backends.base import BaseEmailBackend


class MyHandler(logging.Handler):
    def __init__(self):
        logging.Handler.__init__(self)
        self.config = settings.LOGGING


class MyEmailBackend(BaseEmailBackend):
    def send_messages(self, email_messages):
        pass

import logging

from djmodels.conf import settings
from djmodels.core.mail.backends.base import BaseEmailBackend


class MyHandler(logging.Handler):
    def __init__(self):
        logging.Handler.__init__(self)
        self.config = settings.LOGGING


class MyEmailBackend(BaseEmailBackend):
    def send_messages(self, email_messages):
        pass
