title: Django- Get Foreign Key Model
body: <p>How can I Get A Foreign Key Model Type?</p>
  
  <p>For Example:</p>
  
  <pre><code>class Category(models.Model):
      name = models.CharField(max_length = 100)
  
  class SubCategory(models.Model):
      category = models.ForeignKey(Category)
      title = models.CharField(max_length = 100)
  </code></pre>
  
  <p>I Want To Get category Model In SubCategory.</p>
  
  <p>How Can I Do It?</p>