-
-
Save ricardosiri68/5323067 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: GET | |
Request URL: http://127.0.0.1:8000/admin/ | |
Django Version: 1.3.1 | |
Python Version: 2.7.2 | |
Installed Applications: | |
['django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'mysite.polls', | |
'django.contrib.admin'] | |
Installed Middleware: | |
('django.middleware.common.CommonMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware') | |
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
111. response = callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in wrapper | |
214. return self.admin_view(view, cacheable)(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view | |
93. response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
79. response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner | |
196. return self.login(request) | |
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
79. response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in login | |
331. return login(request, **defaults) | |
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view | |
93. response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
79. response = view_func(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py" in login | |
59. current_site = get_current_site(request) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py" in get_current_site | |
92. current_site = Site.objects.get_current() | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py" in get_current | |
25. current_site = self.get(pk=sid) | |
132. return self.get_query_set().get(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get | |
349. % self.model._meta.object_name) | |
Exception Type: DoesNotExist at /admin/ | |
Exception Value: Site matching query does not exist. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment