AttributeError at /login/
'tuple' object has no attribute 'get'
Request Method: POST
Request URL: http://127.0.0.1:8000/login/
Django Version: 2.2
Exception Type: AttributeError
Exception Value:
'tuple' object has no attribute 'get'
Traceback Switch to copy-and-paste view
/Users/cheshaowei/.virtualenvs/mxonline/lib/python3.7/site-packages/django/core/handlers/exception.py in inner
response = get_response(request) …
▶ Local vars
/Users/cheshaowei/.virtualenvs/mxonline/lib/python3.7/site-packages/django/utils/deprecation.py in __call__
response = self.process_response(request, response) …
▶ Local vars
/Users/cheshaowei/.virtualenvs/mxonline/lib/python3.7/site-packages/django/middleware/clickjacking.py in process_response
if response.get('X-Frame-Options') is not None: …
▶ Local vars
Request information
USER
admin
GET
No GET data
POST
Variable Value
username
'admin'
password
'admin'
csrfmiddlewaretoken
'wOj9lnUIIAgl7woZn3pAqk224SSZq9STvscW5VZvSRYmLCV82rn7hYOgqMZ98tl2'
FILES
No FILES data