title: Issues with foreign key relationship
body: <p>I have defined a relationship between two models of different app using foreign key and data is inserted into Db accurately with foreign key instance, but I want to fetch that data using Django ORM but I didn't get it, I have googled this issue and also checked stack-overflow questions but still my issues are not solved.</p>
  
  <pre><code>#models.py
  
  class teamInfo(models.Model):       
      ownerID = models.IntegerField()
      teamName = models.CharField(max_length=50)
  
      def __unicode__(self):
           return unicode(self.id)
  
  class gameWorld(models.Model):
      team = models.ForeignKey(teamInfo)
      w = models.IntegerField(null=True)
      l = models.IntegerField(null=True)
  
      def __unicode__(self):
          return unicode(self.id)
  </code></pre>
  
  <p>I have tried a few things in my views but nothing worked for me.  Here is the latest thing I have tried in my views:</p>
  
  <pre><code>def teamStandings(request,template=None,context=None):
  
      getAllTeamStat = gameWorld.objects.all()
  
      for i in getAllTeamStat.teaminfo_set.select_related() :
          raise Exception(i.teaminfo.teamName)
  </code></pre>
  
  <p>I simply want a Django ORM query which fetches data from both models so I can display the team name in templates </p>