from flask import Flask
app = Flask(__name__, instance_relative_config = True)

app.config.from_object("mmmpaste.default_settings")
app.config.from_object("local_settings")

import mmmpaste.views

@@ -145,31 +145,47 @@
 rom_
-object(%22local_settings%22
+pyfile(%22application.cfg%22, silent = True
 )%0A%0Ai

Use instance relative configuration.