{"action":"closed","issue":{"url":"https://api.github.com/repos/django-mptt/django-mptt/issues/367","labels_url":"https://api.github.com/repos/django-mptt/django-mptt/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/django-mptt/django-mptt/issues/367/comments","events_url":"https://api.github.com/repos/django-mptt/django-mptt/issues/367/events","html_url":"https://github.com/django-mptt/django-mptt/issues/367","id":68849711,"number":367,"title":"Django 1.8 compatibility / manage.py shell not working","user":{"login":"jtiri","id":582385,"avatar_url":"https://avatars.githubusercontent.com/u/582385?v=3","gravatar_id":"","url":"https://api.github.com/users/jtiri","html_url":"https://github.com/jtiri","followers_url":"https://api.github.com/users/jtiri/followers","following_url":"https://api.github.com/users/jtiri/following{/other_user}","gists_url":"https://api.github.com/users/jtiri/gists{/gist_id}","starred_url":"https://api.github.com/users/jtiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtiri/subscriptions","organizations_url":"https://api.github.com/users/jtiri/orgs","repos_url":"https://api.github.com/users/jtiri/repos","events_url":"https://api.github.com/users/jtiri/events{/privacy}","received_events_url":"https://api.github.com/users/jtiri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-16T05:35:50Z","updated_at":"2015-04-17T03:55:42Z","closed_at":"2015-04-17T03:55:42Z","body":"I try run shell or shell_plus in django 1.8, but it not working. Runserver and runserver_plus working OK.\r\nError message:\r\n  class DocumentObject(MPTTModel):\r\n  File \"/usr/local/lib/python2.7/site-packages/mptt/models.py\", line 244, in __new__\r\n    cls = meta.register(cls)\r\n  File \"/usr/local/lib/python2.7/site-packages/mptt/models.py\", line 338, in register\r\n    tree_manager.init_from_model(cls)\r\n  File \"/usr/local/lib/python2.7/site-packages/mptt/managers.py\", line 52, in init_from_model\r\n    [tree_field] = [fld for fld in model._meta.get_fields_with_model() if fld[0].name == self.tree_id_attr]\r\n...\r\n    raise AppRegistryNotReady(\"Models aren't loaded yet.\")\r\ndjango.core.exceptions.AppRegistryNotReady: Models aren't loaded yet."}}