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

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

src/d/j/django-notifier-0.7/notifier/shortcuts.py   django-notifier(Download)
        backends = _get_backend_queryset(backends)
    else:
        backends = Backend.objects.filter(enabled=True)
 
    if permissions:
            else:
                raise TypeError
            backends = Backend.objects.filter(name__in=backends)
 
    return backends

src/d/j/django-notifier-HEAD/notifier/shortcuts.py   django-notifier(Download)
        backends = _get_backend_queryset(backends)
    else:
        backends = Backend.objects.filter(enabled=True)
 
    if permissions:
            else:
                raise TypeError
            backends = Backend.objects.filter(name__in=backends)
 
    return backends