way of accomplishing this?
Cheers,
wubble u
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@g
their values from the template, but adding a field with dot
notation in the view has done the trick anyway.
Thanks again for your help.
Regards,
wubble u
On Mar 12, 3:46 pm, Darren wrote:
> the simplest method should work, perhaps you made a mistake early on
> which set you off on the
_name='home')
away_team_id = models.ForeignKey(Teams, related_name='away')
I've even tried len(hResults) and I get the same error.
The count attribute seems to work ok though if I just do
Results.objects.all()
Does anyone have any ideas why this errors?
Regards,
wubble u
--
You
That's great, sorted it. Thanks for your help
On Mar 15, 9:46 pm, Shawn Milochik wrote:
> If you're doing a 'get,' then you're always going to return exactly one
> results (or get an error).
>
> If you do a 'filter' you can use count().
>
> Shawn
--
You received this message because you are s
4 matches
Mail list logo