title: importError: cannot import model name
body: <p>I am upgrading my django application from <code>django1.5</code> to <code>django1.11</code>. I know its a huge jump. So I am getting so many errors and try to get it fixed. This is my project structure. I think I have made mistakes in appconfig. I couldn't figure it out.
  <a href="https://i.stack.imgur.com/Jy9u6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jy9u6.jpg" alt="enter image description here"></a></p>
  
  <p>Now I am stuck on this error.<code>ImportError: cannot import name TrainingProfile</code></p>
  
  <p>settings.py</p>
  
  <pre><code>INSTALLED_APPS = (
  'admin.apps.AdminConfig',
  'account.apps.AccountConfig',
  '.............'
  )
  </code></pre>
  
  <p>apps/admin/apps.py</p>
  
  <pre><code>class AdminConfig(AppConfig):
      name = 'apps.admin'
      label = 'admin_app'
  </code></pre>
  
  <p>apps/account/apps.py</p>
  
  <pre><code>class AccountConfig(AppConfig):
      name = 'apps.account'
      label = 'account_app'
  </code></pre>
  
  <p>apps/admin/models/init.py</p>
  
  <pre><code>from apps.admin.models.sector import *
  from apps.admin.models.track import *
  from apps.admin.models.training import *
  ...............
  </code></pre>
  
  <p>traceback</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
      fn(*args, **kwargs)
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
      autoreload.raise_last_exception()
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 251, in raise_last_exception
      six.reraise(*_exception)
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
      fn(*args, **kwargs)
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
      app_config.import_models()
    File "/home/sample-applications/upgrade/venv/local/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
      self.models_module = import_module(models_module_name)
    File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
    File "/home/sample-applications/upgrade/pursuite/django-pursuite/apps/admin/models/__init__.py", line 17, in &lt;module&gt;
      from apps.admin.models.job import *
    File "/home/sample-applications/upgrade/pursuite/django-pursuite/apps/admin/models/job.py", line 13, in &lt;module&gt;
      from account.models import IndustryProfile
    File "./apps/account/models.py", line 13, in &lt;module&gt;
      from admin.models import Company, Track
    File "./apps/admin/models/__init__.py", line 18, in &lt;module&gt;
      from apps.admin.models.training import *
    File "/home/sample-applications/upgrade/pursuite/django-pursuite/apps/admin/models/training.py", line 12, in &lt;module&gt;
      from account.models import TrainingProfile
  ImportError: cannot import name TrainingProfile
  </code></pre>
  
  <p>apps/admin/models/training.py</p>
  
  <pre><code>from django.db import models
  from django.contrib import admin
  from django.core.urlresolvers import reverse
  from tinymce.models import HTMLField
  from account.models import TrainingProfile
  from analytics.models import State
  from admin.common import html2text
  
  __all__ = ['Training']
  
  
  class Training(models.Model):
      '''
          Training
      '''
      class Meta:
          '''
              Meta properties for this model
          '''
          app_label = 'admin'
  
      TRAINING_CHOICES = {
          ('T', 'Trainers'),
          ('S', 'Students'),
      }
      training_title = models.CharField(max_length=100, db_index=True)
      provider = models.ForeignKey(TrainingProfile, db_index=True)
      training_for = models.CharField(max_length=1, choices=TRAINING_CHOICES)
      description = HTMLField()
      location = models.ForeignKey(State, db_index=True)
      create_date = models.DateTimeField(auto_now_add=True)
      write_date = models.DateTimeField(auto_now=True)
  </code></pre>