#NEWLINE# def getsetting( name , defaults = locals ( ) ) : #NEWLINE# #INDENT# "\n    Tries to get a setting from Django's default settings object. If not\n    available returns a local default.\n    " #NEWLINE# from django.conf import settings #NEWLINE# return getattr ( settings , name , defaults . get ( name ) )