title: Related model cannot be resolved
body: <p>I am using Django 1.8b1</p>
  
  <p>There are two models in two apps called <code>accounts</code> and <code>products</code></p>
  
  <pre><code>products/models.py
  class ChecklistEnterpriseType(models.Model):
      checklist_enterprise_type = models.CharField('Type of Enterprise', max_length=50, choices=zip(ENTERPRISE_CHOICES, ENTERPRISE_CHOICES))
  
      def __unicode__(self):
          return self.checklist_enterprise_typ
  </code></pre>
  
  <p>And the another model is</p>
  
  <pre><code>accounts/models.py
  class sample(models.Model):
      enterprise_type = models.ForeignKey(ChecklistEnterpriseType, related_name='enterprise_type')
  
      def __unicode__(self):
          return self.enterprise_type
  </code></pre>
  
  <p>When I do <code>python manage.py makemigrations</code>, it will add the migration file. But when I do <code>python manage.py migrate</code> it raises me the error like:</p>
  
  <pre><code>raise ValueError('Related model %r cannot be resolved' % self.rel.to)
  ValueError: Related model u'products.ChecklistEnterpriseType' cannot be resolved
  </code></pre>
  
  <p>How can I resolve this.</p>
  
  <p>Appreciated the answers :)</p>