Mercurial > kallithea
comparison pylons_app/config/middleware.py @ 31:2963f2894a7a
Tempalting change, bugfix for serving raw files, and diffs. Now raw files are not parsed thruough mako, and diffs are mako safe (not parsed also)
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Thu, 04 Mar 2010 23:13:12 +0100 |
parents | fac1f62a1d71 |
children | 71ffa932799d |
comparison
equal
deleted
inserted
replaced
30:424167fefd6c | 31:2963f2894a7a |
---|---|
10 from routes.middleware import RoutesMiddleware | 10 from routes.middleware import RoutesMiddleware |
11 | 11 |
12 from pylons_app.config.environment import load_environment | 12 from pylons_app.config.environment import load_environment |
13 | 13 |
14 | 14 |
15 def make_app(global_conf, full_stack = True, **app_conf): | 15 def make_app(global_conf, full_stack=True, **app_conf): |
16 """Create a Pylons WSGI application and return it | 16 """Create a Pylons WSGI application and return it |
17 | 17 |
18 ``global_conf`` | 18 ``global_conf`` |
19 The inherited configuration for this application. Normally from | 19 The inherited configuration for this application. Normally from |
20 the [DEFAULT] section of the Paste ini file. | 20 the [DEFAULT] section of the Paste ini file. |