#NEWLINE# def get_config( key , default = None ) : #NEWLINE# #INDENT# "\n    Get settings from django.conf if exists,\n    return default value otherwise\n\n    example:\n\n    ADMIN_EMAIL = get_config('ADMIN_EMAIL', 'default@email.com')\n    " #NEWLINE# return getattr ( settings , key , default )