It works. Seems that I never understood the power of these Q objects.
Thank you! ez
On Feb 13, 3:12 pm, Daniel Roseman wrote:
> On Sunday, February 13, 2011 12:48:25 PM UTC, ezorro wrote:
>
> > Hi django users!
>
> > I have two simple models: Person and Address.
>
>
Hi django users!
I have two simple models: Person and Address.
class Person(models.Model):
first_name = models.CharField(max_length=64, blank=True, default='')
last_name = models.CharField(max_length=64, blank=True, default='')
class Address(models.Model):
person = models
2 matches
Mail list logo