{"action":"opened","issue":{"url":"https://api.github.com/repos/samluescher/django-form-designer/issues/98","labels_url":"https://api.github.com/repos/samluescher/django-form-designer/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/samluescher/django-form-designer/issues/98/comments","events_url":"https://api.github.com/repos/samluescher/django-form-designer/issues/98/events","html_url":"https://github.com/samluescher/django-form-designer/issues/98","id":111620737,"number":98,"title":"Migration fails to load models - Django 1.8.5 Django-CMS 3.1","user":{"login":"source3","id":6154222,"avatar_url":"https://avatars.githubusercontent.com/u/6154222?v=3","gravatar_id":"","url":"https://api.github.com/users/source3","html_url":"https://github.com/source3","followers_url":"https://api.github.com/users/source3/followers","following_url":"https://api.github.com/users/source3/following{/other_user}","gists_url":"https://api.github.com/users/source3/gists{/gist_id}","starred_url":"https://api.github.com/users/source3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/source3/subscriptions","organizations_url":"https://api.github.com/users/source3/orgs","repos_url":"https://api.github.com/users/source3/repos","events_url":"https://api.github.com/users/source3/events{/privacy}","received_events_url":"https://api.github.com/users/source3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T13:48:32Z","updated_at":"2015-10-15T13:48:32Z","closed_at":null,"body":"The following error occurs running 'python manage.py migrate'.  Upgrading from Django 1.5/django-cms 2.4.  Any suggestions or solutions is much appreciated.\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 351, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 325, in execute\r\n    django.setup()\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/__init__.py\", line 18, in setup\r\n    apps.populate(settings.INSTALLED_APPS)\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/apps/registry.py\", line 108, in populate\r\n    app_config.import_models(all_models)\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/apps/config.py\", line 198, in import_models\r\n    self.models_module = import_module(models_module_name)\r\n  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/form_designer/contrib/cms_plugins/form_designer_form/models.py\", line 1, in <module>\r\n    from form_designer.models import FormDefinition\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/form_designer/models.py\", line 19, in <module>\r\n    User = get_user_model()\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py\", line 150, in get_user_model\r\n    return django_apps.get_model(settings.AUTH_USER_MODEL)\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/apps/registry.py\", line 199, in get_model\r\n    self.check_models_ready()\r\n  File \"/ebs/localdealsmagazine/local/lib/python2.7/site-packages/django/apps/registry.py\", line 131, in check_models_ready\r\n    raise AppRegistryNotReady(\"Models aren't loaded yet.\")\r\ndjango.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.\r\n\r\nsettings.py:\r\nINSTALLED_APPS = (\r\n   ...\r\n    'picklefield',\r\n    'form_designer.contrib.cms_plugins.form_designer_form', \r\n    'form_designer',   \r\n    ...\r\n)\r\n\r\nMIDDLEWARE_CLASSES = (\r\n    ...\r\n    'form_designer.middleware.RedirectMiddleware',\r\n)\r\n\r\n"}}