title: Django accessing ForeignKey model objects
body: <p>Let's say I have the following:</p>
  
  <pre><code>class Employee(models.Model):
      firstName = models.CharField(max_length = 30)
      lastName = models.CharField(max_length = 30)
  
  class License(models.Model):
      employee = models.ForeignKey(Employee)
      type = models.CharField(max_length = 30)
  </code></pre>
  
  <p>and in a custom management command, I'm pulling in all the Employee objects with <code>employees = Employee.objects.all()</code>... how can I access associated License objects for each employee object? I have seen questions that talk about using ContentType for this purpose, but I'm confused on it's practical use. Can anyone provide an example on how to use ContentType (or another solution) in this context?</p>