[Cubicweb] PYRAMID: Split auth into a subpackage
paul at agendaless.com
Tue Jul 8 15:36:27 CEST 2014
Another small suggestion...right now the __init__.py has some core stuff in it as well as some auth stuff. SubstanceD (a Zope-like content framework Chris McDonough wrote) splits itself into a bunch of subpackages:
Each subpackage (e.g. workflow) has its own config.include. SubstanceD then has a top-level config.include that simply includes each of the subpackage includes. Developers can grab the top one to conveniently get everything, or grab only the parts that they want. Which also helps testing.
More information about the Cubicweb