title: Getting name spaced models inside Django 1.7 migrations
body: <p>I'm using django-allauth as part of a new project, and I'm trying to make a migration where I set up the initial authentication keys for the social apps.</p>
  
  <p>To do this I need to access a model that is under a namespace of</p>
  
  <p>'allauth.socialaccount', which I also have in my settings.py</p>
  
  <p>However, when I attempt to do the following;</p>
  
  <p><code>SocialApp = apps.get_model('allauth.socialaccount', 'socialapp')</code></p>
  
  <p>I end up with Django telling me the app with that name doesn't exist.</p>
  
  <p>I have also tried pretty much every combination of 'allauth', 'socialaccount' and, 'socialapp'</p>
  
  <p>I'm pretty much stuck at this point.</p>