{"action":"created","issue":{"url":"https://api.github.com/repos/rafalp/Misago/issues/494","labels_url":"https://api.github.com/repos/rafalp/Misago/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/rafalp/Misago/issues/494/comments","events_url":"https://api.github.com/repos/rafalp/Misago/issues/494/events","html_url":"https://github.com/rafalp/Misago/issues/494","id":55558335,"number":494,"title":"django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.","user":{"login":"vladyslav2","id":704096,"avatar_url":"https://avatars.githubusercontent.com/u/704096?v=3","gravatar_id":"","url":"https://api.github.com/users/vladyslav2","html_url":"https://github.com/vladyslav2","followers_url":"https://api.github.com/users/vladyslav2/followers","following_url":"https://api.github.com/users/vladyslav2/following{/other_user}","gists_url":"https://api.github.com/users/vladyslav2/gists{/gist_id}","starred_url":"https://api.github.com/users/vladyslav2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladyslav2/subscriptions","organizations_url":"https://api.github.com/users/vladyslav2/orgs","repos_url":"https://api.github.com/users/vladyslav2/repos","events_url":"https://api.github.com/users/vladyslav2/events{/privacy}","received_events_url":"https://api.github.com/users/vladyslav2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rafalp/Misago/labels/Docs","name":"Docs","color":"9b59b6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T00:25:24Z","updated_at":"2015-01-27T14:30:33Z","closed_at":"2015-01-27T14:30:33Z","body":"When i tried to run forum with default settings, i got that error:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/vladka/forum.webdevelop.pro/env/lib/python2.7/site-packages/django/core/handlers/wsgi.py\", line 168, in __call__\r\n    self.load_middleware()\r\n  File \"/home/vladka/forum.webdevelop.pro/env/lib/python2.7/site-packages/django/core/handlers/base.py\", line 44, in load_middleware\r\n    mw_class = import_string(middleware_path)\r\n  File \"/home/vladka/forum.webdevelop.pro/env/lib/python2.7/site-packages/django/utils/module_loading.py\", line 26, in import_string\r\n    module = import_module(module_path)\r\n  File \"/usr/local/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"./misago/threads/middleware.py\", line 5, in <module>\r\n    from misago.threads.counts import (ModeratedCount, NewThreadsCount,\r\n  File \"./misago/threads/counts.py\", line 9, in <module>\r\n    from misago.threads.views.moderatedcontent import ModeratedContent\r\n  File \"./misago/threads/views/moderatedcontent.py\", line 7, in <module>\r\n    from misago.threads.views.generic.threads import Threads, ThreadsView\r\n  File \"./misago/threads/views/generic/__init__.py\", line 4, in <module>\r\n    from misago.threads.views.generic.goto import *\r\n  File \"./misago/threads/views/generic/goto.py\", line 4, in <module>\r\n    from misago.threads import goto\r\n  File \"./misago/threads/goto.py\", line 6, in <module>\r\n    from misago.readtracker.threadstracker import make_read_aware\r\n  File \"./misago/readtracker/threadstracker.py\", line 6, in <module>\r\n    from misago.readtracker import forumstracker, signals\r\n  File \"./misago/readtracker/forumstracker.py\", line 6, in <module>\r\n    from misago.readtracker import signals\r\n  File \"./misago/readtracker/signals.py\", line 4, in <module>\r\n    from misago.threads.signals import move_thread, remove_thread_participant\r\n  File \"./misago/threads/signals.py\", line 114, in <module>\r\n    @receiver(pre_delete, sender=get_user_model())\r\n  File \"/home/vladka/forum.webdevelop.pro/env/lib/python2.7/site-packages/django/contrib/auth/__init__.py\", line 137, in get_user_model\r\n    return django_apps.get_model(settings.AUTH_USER_MODEL)\r\n  File \"/home/vladka/forum.webdevelop.pro/env/lib/python2.7/site-packages/django/apps/registry.py\", line 199, in get_model\r\n    self.check_models_ready()\r\n  File \"/home/vladka/forum.webdevelop.pro/env/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\nin misago default settings:\r\nAUTH_USER_MODEL = 'misago_users.User'\r\n\r\nbut seems that now work.\r\n\r\nAm i doing anything wrong ? Or its a bug ?\r\n"},"comment":{"url":"https://api.github.com/repos/rafalp/Misago/issues/comments/71656152","html_url":"https://github.com/rafalp/Misago/issues/494#issuecomment-71656152","issue_url":"https://api.github.com/repos/rafalp/Misago/issues/494","id":71656152,"user":{"login":"rafalp","id":750553,"avatar_url":"https://avatars.githubusercontent.com/u/750553?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalp","html_url":"https://github.com/rafalp","followers_url":"https://api.github.com/users/rafalp/followers","following_url":"https://api.github.com/users/rafalp/following{/other_user}","gists_url":"https://api.github.com/users/rafalp/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalp/subscriptions","organizations_url":"https://api.github.com/users/rafalp/orgs","repos_url":"https://api.github.com/users/rafalp/repos","events_url":"https://api.github.com/users/rafalp/events{/privacy}","received_events_url":"https://api.github.com/users/rafalp/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T14:30:33Z","updated_at":"2015-01-27T14:30:33Z","body":"readme updated"}}