summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
Diffstat (limited to 'paste')
-rw-r--r--paste/frameworks/default_framework.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/paste/frameworks/default_framework.py b/paste/frameworks/default_framework.py
index 1819791..43ca308 100644
--- a/paste/frameworks/default_framework.py
+++ b/paste/frameworks/default_framework.py
@@ -1,4 +1,5 @@
import sys
+from paste import makeapp
def build_application(conf):
if conf.get('publish_dir'):
@@ -9,6 +10,8 @@ def build_application(conf):
if isinstance(app, (str, unicode)):
from paste.util import import_string
app = import_string.eval_import(app)
+ app = makeapp.apply_conf_middleware(app, conf)
+ app = makeapp.apply_default_middleware(app, conf)
else:
# @@ ianb 2005-03-23: This should be removed sometime
if conf.get('webkit_dir'):