#NEWLINE# def setting( name , default = None ) : #NEWLINE# #INDENT# '\n    Helper function to get a Django setting by name or (optionally) return\n    a default (or else ``None``).\n    ' #NEWLINE# return getattr ( settings , name , default )