rtfd/readthedocs.org — Issue #126: /admin/ and /accounts/login/ links show error on initial install
Author: monkut
Created: 2011-10-18 11:38:40+00:00
State: open

Just went through the installation process here:

http://readthedocs.org/docs/read-the-docs/en/latest/install.html#what-s-available

Hit the issue where syncdb fails due to the core_userprofile table not created yet.
passed that by running syncdb again, running ./manage.py migrate and createing another superuser.

After that runserver works iniitally and shows the title page.
However, from here attempting to goto /admin/ or /accounts/login/ brings up a error:

DoesNotExist at /admin/
Site matching query does not exist

It seems that the initial Site object is not registered in the DB. as the Site object search for pk=1 fails.