[skeleton] call includeme from new cube
authorSamuel Trégouët <samuel.tregouet@logilab.fr>
Thu, 16 Feb 2017 10:56:45 +0100
changeset 12009 a939b3a18d8e
parent 12008 7694dcf5ad30
child 12010 c34590161082
[skeleton] call includeme from new cube
cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl
cubicweb/skeleton/development.ini.tmpl
--- a/cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl	Mon Mar 06 14:19:20 2017 +0100
+++ b/cubicweb/skeleton/cubicweb_CUBENAME/__init__.py.tmpl	Thu Feb 16 10:56:45 2017 +0100
@@ -2,3 +2,7 @@
 
 %(longdesc)s
 """
+
+
+def includeme(config):
+    pass
--- a/cubicweb/skeleton/development.ini.tmpl	Mon Mar 06 14:19:20 2017 +0100
+++ b/cubicweb/skeleton/development.ini.tmpl	Thu Feb 16 10:56:45 2017 +0100
@@ -13,6 +13,7 @@
 pyramid.default_locale_name = en
 pyramid.includes =
     pyramid_debugtoolbar
+    cubicweb_%(cubename)s
 
 # By default, the toolbar only appears for clients from IP addresses
 # '127.0.0.1' and '::1'.