Re: More questions on models

2006-11-27 Thread Jacob Kaplan-Moss
On 11/27/06 9:07 PM, [EMAIL PROTECTED] wrote: > The following is SQLObject code and I would like to know how I would do > the same in Django? Hey Jim -- You'd be better off addressing this question to the django-users mailing list; django-dev is for discussion of developing Django itself, not f

More questions on models

2006-11-27 Thread [EMAIL PROTECTED]
The following is SQLObject code and I would like to know how I would do the same in Django? class Order(SQLObject): items = MultipleJoin('OrderItem', joinColumn='order_id') class sqlmeta: table = 'orders' class OrderItem(SQLObject): quantity = IntCol(notNone=True) price