y need the
.count() method on schedule_set() if that even makes a difference.
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Kevin
Sent: Tuesday, October 11, 2011 8:43 AM
To: Django users
Subject: Re: Need advice on ForeignKey que
What your looking for is here in the documentation:
https://docs.djangoproject.com/en/1.3/topics/db/queries/#related-objects
records = models.Facility.objects.get(pk=62).schedule_set.all()
On Oct 10, 8:19 pm, "Sells, Fred"
wrote:
> I've got these two tables defined where a Facility can have mult
2 matches
Mail list logo