#NEWLINE# def __init__( self , app = None , name = None ) : #NEWLINE# #INDENT# "Initialize FlatPages extension.\n\n        :param app: Your application. Can be omitted if you call\n                    :meth:`init_app` later.\n        :type app: A :class:`~flask.Flask` instance\n        :param name: The name for this FlatPages instance. Used for looking\n                    up config values using\n                        'FLATPAGES_%s_%s' % (name.upper(), key)\n                    By default, no name is used, so configuration is\n                    done by specifying config values using\n                        'FLATPAGES_%s' % (key)\n                    Typically, you only need to set this parameter if you\n                    want to use multiple :class:`FlatPages instances within the\n                    same Flask application.\n        :type name: string\n\n        .. versionchanged:: 0.6\n\n           New parameter `name` to support multiple FlatPages instances.\n        " #NEWLINE# self . name = name #NEWLINE# if ( name is None ) : #NEWLINE# #INDENT# self . config_prefix = 'FLATPAGES' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . config_prefix = '_' . join ( ( 'FLATPAGES' , name . upper ( ) ) ) #NEWLINE# #UNINDENT# self . _file_cache = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if app : #NEWLINE# #INDENT# self . init_app ( app )