Thursday, May 27, 2010

Re: Four Hop, Two Criteria Query

On Thu, May 27, 2010 at 12:22 PM, chr <chris@statesofpop.de> wrote:
On May 27, 11:46 am, Lee Hinde <leehi...@gmail.com> wrote:
> So, if I were to display a list of notes, how would I join those two
> together?

if i get you right, you could accomplish this by using a model method

get_weather(self):
 weather = Weather.objects.filter(weather_date=self.created, ...

cheers, chr


Thanks!
(to all)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment