I was working on my project for a while and recently noticed that when i try to go to localhost/admin/ it gives out an error :
DoesNotExist at /admin/
Site matching query does not exist.
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.3
Exception Type: DoesNotExist
Exception Value:
Site matching query does not exist.
Exception Location: C:\Python27\lib\site-packages\django\db\models\query.py in get, line 349
Usually when i go there it makes me login first and then redirects me, but now it just errors unless i am already logged in
I can only enter my admin after login in as admin in the localhost login functionality i created for users and then going to that page. Also the logout from the admin page stoped working giving the same error.
I was working on adding a new field to the user module and displaying new user creation form when this happened.
anyone had similar problem? Or maybe someone knows what causing this?