from paste.urlparser import StaticURLParser
from paste.deploy.converters import asbool
from pylons import config
-from pylons.middleware import ErrorHandler, StaticJavascripts, \
- StatusCodeRedirect
+from pylons.middleware import ErrorHandler, StatusCodeRedirect
from pylons.wsgiapp import PylonsApp
from routes.middleware import RoutesMiddleware
from paste import httpexceptions
# CUSTOM MIDDLEWARE HERE (filtered by error handling middlewares)
app = authkit.authorize.middleware(app, BlueChipUser())
- app = DummyAuthenticate(app)
+ app = DummyAuthenticate(app, app_conf)
app = httpexceptions.make_middleware(app, global_conf)
# Routing/Session/Cache Middleware