cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl
changeset 11968 bb0dfc7d2d0e
parent 11945 ef6b18c56b5a
child 12009 a939b3a18d8e
--- a/cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl	Fri Feb 10 17:13:44 2017 +0100
+++ b/cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl	Tue Feb 21 08:54:20 2017 +0100
@@ -2,12 +2,3 @@
 
 %(longdesc)s
 """
-
-
-def pyramid_main(global_config, **settings):
-    """Return a Pyramid WSGI application bound to a CubicWeb repository."""
-    from pyramid.config import Configurator
-    config = Configurator(settings=settings)
-    config.include('cubicweb.pyramid')
-    config.scan()
-    return config.make_wsgi_app()