diff options
| author | Michael Merickel <michael@merickel.org> | 2013-09-05 23:51:03 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-09-05 23:51:03 -0500 |
| commit | 2207ed5c82dfd8c259f6032ff84eb8998be40fa8 (patch) | |
| tree | 5967809ed61a509dbf406d7726eea2e56a0378b3 /docs/narr/MyProject/myproject | |
| parent | f1aaf1577dfeb9e094a5a9d7130984b95531d5cb (diff) | |
| download | pyramid-2207ed5c82dfd8c259f6032ff84eb8998be40fa8.tar.gz pyramid-2207ed5c82dfd8c259f6032ff84eb8998be40fa8.tar.bz2 pyramid-2207ed5c82dfd8c259f6032ff84eb8998be40fa8.zip | |
update the MyProject example app to use pyramid_chameleon
Diffstat (limited to 'docs/narr/MyProject/myproject')
| -rw-r--r-- | docs/narr/MyProject/myproject/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/narr/MyProject/myproject/__init__.py b/docs/narr/MyProject/myproject/__init__.py index 6c512f52f..ad5ecbc6f 100644 --- a/docs/narr/MyProject/myproject/__init__.py +++ b/docs/narr/MyProject/myproject/__init__.py @@ -5,6 +5,7 @@ def main(global_config, **settings): """ This function returns a Pyramid WSGI application. """ config = Configurator(settings=settings) + config.include('pyramid_chameleon') config.add_static_view('static', 'static', cache_max_age=3600) config.add_route('home', '/') config.scan() |
