{"comment":{"created_at":"2011-10-19T02:57:12Z","body":"I managed to get passed this by registering a \"Site\" using the django shell command.  Documentation should be updated to note this, or an initial_data object added.\r\n\r\n./manage.py shell\r\n\r\n>>> from django.contrib.sites.models import Site\r\n>>> s = Site(domain=\"127.0.0.1\", name=\"localhosttest\")\r\n>>> s.save()\r\n","updated_at":"2011-10-19T02:57:12Z","url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/comments/2451467","id":2451467,"user":{"gravatar_id":"41cf21bb4bd9c12edb82ff624ed363a3","avatar_url":"https://secure.gravatar.com/avatar/41cf21bb4bd9c12edb82ff624ed363a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/monkut","id":1135529,"login":"monkut"}},"action":"created","issue":{"number":126,"created_at":"2011-10-18T11:38:40Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Just went through the installation process here:\r\n\r\nhttp://readthedocs.org/docs/read-the-docs/en/latest/install.html#what-s-available\r\n\r\nHit the issue where syncdb fails due to the core_userprofile table not created yet.\r\npassed that by running syncdb again, running ./manage.py migrate and createing another superuser.\r\n\r\nAfter that runserver works iniitally and shows the title page.\r\nHowever, from here attempting to goto /admin/ or /accounts/login/ brings up a error:\r\n\r\nDoesNotExist at /admin/\r\nSite matching query does not exist\r\n\r\nIt seems that the initial Site object is not registered in the DB. as the Site object search for pk=1 fails.\r\n","comments":2,"title":"/admin/ and /accounts/login/ links show error on initial install","updated_at":"2011-10-19T02:57:12Z","url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/126","id":1938567,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"41cf21bb4bd9c12edb82ff624ed363a3","avatar_url":"https://secure.gravatar.com/avatar/41cf21bb4bd9c12edb82ff624ed363a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/monkut","id":1135529,"login":"monkut"},"html_url":"https://github.com/rtfd/readthedocs.org/issues/126","labels":[],"state":"open"},"legacy":{"issue_id":1938567,"comment_id":2451467}}