def setting(name, default=None):
 return getattr(settings, name, default)

def setting ( name , default = None ) : return getattr ( settings , name , default )
helper function to get a django setting by name .