We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'WSGIRequest' object has no attribute 'user'
Request Method: GET Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.8 Python Version: 2.7.6 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.flatpages', 'article'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware')
Traceback: File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in wrapper 254. return self.admin_view(view, cacheable)(*args, **kwargs) File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 110. response = view_func(request, *args, **kwargs) File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 57. response = view_func(request, *args, **kwargs) File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner 222. if not self.has_permission(request): File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in has_permission 162. return request.user.is_active and request.user.is_staff
Exception Type: AttributeError at /admin/ Exception Value: 'WSGIRequest' object has no attribute 'user'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
'WSGIRequest' object has no attribute 'user'
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.8
Python Version: 2.7.6
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'django.contrib.flatpages',
'article']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware')
Traceback:
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in wrapper
254. return self.admin_view(view, cacheable)(*args, **kwargs)
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
110. response = view_func(request, *args, **kwargs)
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
222. if not self.has_permission(request):
File "/home/10558/Documents/python/django-test/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in has_permission
162. return request.user.is_active and request.user.is_staff
Exception Type: AttributeError at /admin/
Exception Value: 'WSGIRequest' object has no attribute 'user'
The text was updated successfully, but these errors were encountered: