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

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

src/d/j/django-flanker-0.3.0/django_flanker/utils.py   django-flanker(Download)
def setup_django_driver():
    if getattr(settings, 'FLANKER_DRIVER_ENABLED', True):
        params = getattr(settings, 'FLANKER_DRIVER_PARAMS', {})
        addresslib.set_mx_cache(driver.DjangoCache(**params))
 

src/d/j/django-flanker-HEAD/django_flanker/utils.py   django-flanker(Download)
def setup_django_driver():
    if getattr(settings, 'FLANKER_DRIVER_ENABLED', True):
        params = getattr(settings, 'FLANKER_DRIVER_PARAMS', {})
        addresslib.set_mx_cache(driver.DjangoCache(**params))