def get_config(key, default=None):
    return getattr(settings, key, default)
Get settings from django.conf if exists,
dataset/ETHPy150Open skorokithakis/django-annoying/annoying/functions.py/get_config