After much discussion between Daniel and myself we both preferred this
non-threadlocal approach. I've tried to abstract this mechanism out into
its own set of components which I encourage anyone to give a try.
http://pypi.python.org/pypi/Khufu-SQLAHelper
Hopefully other people can get use out
You will have no trouble finding it because 'pyramid' is a keyword. There is
no Pyramid trove classifier yet. I respect Chris' work too much to claim my
package is an official add-on of equal quality, especially with its current
lack of documentation, and I want to create my own brand of interop
In contrast to the way it's normally done, stucco_auth implements a
non-threadlocal SQLAlchemy strategy.
In the pyramid_alchemy paster template, the SQLAlchemy session is a
module-level object with a threadlocal behind the scenes and the declarative
base is bound to a particular engine:
DBSess
On 21/01/2011 08:25, Ginés Martínez wrote:
Great, I find it very interesting. IMHO, would be good if the package
had the prefix pyramid_ to facilitate the search for new people at pypi.
Regards!
I'd prefer to see people just use a Pyramid trove classifier...
cheers,
Chris
--
Simplistix - Con
Great, I find it very interesting. IMHO, would be good if the package had
the prefix pyramid_ to facilitate the search for new people at pypi.
Regards!
2011/1/21 Daniel Holth
> I've finally found the time to release my User and Group models and views
> for Pyramid. This code was developed as par