hi,

this is the relevant part of my model:

class Team(models.Model):
    name = models.CharField(_("Team Name"),max_length=150,unique=True)
    members = 
    tournament = models.ForeignKey(Tournament)

in my view I have the following line of code:
cr = Team.objects.filter(tournament_id=tournid)

I have three installations of this app. All have the latest trunk (all
the same version). The only difference between the three is that one is
on Fedora 14, one on Fedora 15 and one on Fedora 16. Deployment is the
same. All are on python 2.7 with slightly differing versions of
postgresql. On Fedora 14 and 16 the code runs ok. On Fedora 15, django
barfs saying:
'cannot resolve tournament_id into a field, fields available are: name,
tournament ...'

any clues?
-- 
regards
Kenneth Gonsalves

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to