[Python-modules-commits] [python-social-auth] 129/322: Include template engine

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit bbf02d71817365f77f9c87d0360e0639f9c61313
Author: Motoki Naruse <motoki at naru.se>
Date:   Sat Feb 21 15:19:42 2015 +0900

    Include template engine
    
    I got
    
    ```
    builtins.ValueError
    ValueError: No such renderer factory .pt
    ```
---
 examples/pyramid_example/example/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/pyramid_example/example/__init__.py b/examples/pyramid_example/example/__init__.py
index 549ee32..bc0e6b7 100644
--- a/examples/pyramid_example/example/__init__.py
+++ b/examples/pyramid_example/example/__init__.py
@@ -20,6 +20,7 @@ def main(global_config, **settings):
     config = Configurator(settings=settings,
                           session_factory=session_factory,
                           autocommit=True)
+    config.include('pyramid_chameleon')
     config.add_static_view('static', 'static', cache_max_age=3600)
     config.add_request_method('example.auth.get_user', 'user', reify=True)
     config.add_route('home', '/')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list