[storm] django, column vs. attribute names

Gustavo Niemeyer gustavo at niemeyer.net
Wed Jul 18 15:25:26 BST 2007


Hey Michael,

I hope you've made a safe flight back home.

(...)
> class DjangoModel(meta.Model):
>   bla = IntegerField(db_column="foo")

The equivalent in Storm is:

class MyClass(object):
    bla = Int("foo")

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list