Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(3)  |  Import(0)

src/d/j/django-notification-1.1.1/notification/backends/email.py   django-notification(Download)
class EmailBackend(backends.BaseBackend):
    spam_sensitivity = 2
 
    def can_send(self, user, notice_type):
        can_send = super(EmailBackend, self).can_send(user, notice_type)

src/b/a/batter-HEAD/batter/notifications/backend.py   batter(Download)
class ModelBackend(backends.BaseBackend):
    spam_sensitivity = 1
 
    def deliver(self, recipient, sender, notice_type, extra_context):
        context = self.default_context()

src/t/e/templated-emails-HEAD/templated_emails/backends/templated_email.py   templated-emails(Download)
class TemplatedEmailBackend(backends.BaseBackend):
    """
    At attempt to wire django-notifications to
    https://github.com/philippWassibauer/templated-emails
    not to