title: Django Choices based on Foreign Key
body: <p>I am wondering if there is a way to use a list that is stored in a foreignkey as the choices for a charfield.</p>
  
  <p>Here is what I have right now but it is not working.</p>
  
  <pre><code>priority = models.ForeignKey(SLAs)
  prioritylevel = models.CharField(choices=priority.details)
  </code></pre>
  
  <p>It says that the ForeignKey has no attribute 'details'</p>
  
  <p>If this has been answered, please point me the correct direction.</p>
  
  <p>Thanks :)</p>