[storm] Using Storm with Django

Paul Hummer paul.hummer at canonical.com
Fri Aug 1 07:36:34 BST 2008


> 1. install the "zope.interface" and "transaction" modules (either from
> pypi.python.org or Zope subversion should do).
>
> 2. In the settings file for your application, add
> storm.django.middleware.ZopeTransactionMiddleware to
> MIDDLEWARE_CLASSES.  This configures the Zope transaction manager to
> run a transaction over each Django request.

Ew.  What's the reasoning for using the zope stuff?  Is there a
possibility, at some point, to remove that zope dependency?  I'm not
really fond on adding more dependencies than needed, especially Zope
dependencies.

>
> One thing this branch does not help you do is to use some of the
> existing Django infrastructure with Storm classes.  At a minimum I'd
> like to get the Django admin interface working with Storm classes.
>
This is what I'd really like to see.  I don't think it'd be too
terribly difficult, and if you'd like to work together on this, Storm
integration is quite high on my Django priorities.

Paul




More information about the storm mailing list