Re: How can I access attributes in intermediate class

2010-07-01 Thread cat in a tub
ad your date_joined > > Perhaps it isn't the best way to do it, but it works :p > > I hope this helps you, > Álex González > > On Tue, Jun 29, 2010 at 19:45, cat in a tub wrote: > > > > > class User(models.Model): > >    name = models.CharField(max_

Any implement of event bus in django

2010-07-01 Thread cat in a tub
Hi I am wondering whether there is any implement of event bus (a centralized control of sub/dist event via ajax sync). Google use this design pattern in its ad-words by java. Does django have similar solutions ? Cheers Homer -- You received this message because you are subscribed to the Google

How can I access attributes in intermediate class

2010-06-29 Thread cat in a tub
class User(models.Model): name = models.CharField(max_length=128) class Group(models.Model): name = models.CharField(max_length=128) members = models.ManyToManyField(User, through='Membership') class Membership(models.Model): person = models.ForeignKey(User) group = models.For

How to options by limited_choices_to ?

2010-06-22 Thread cat in a tub
Hi All, I want to built a django application for hardware compatibility testing Some hardwares are compatible with certain mother board. And attributes of each hardware are different (I use a ugly table to store attributes), which are compatible with Hardware types, such as MEM as SIZE, HDD has Fi