I get this error message on the browser at 127.0.01:8000

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/

Django Version: 3.2.1
Python Version: 3.9.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'events']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback (most recent call last):
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\core\handlers\exception.py",
 
line 47, in inner
    response = get_response(request)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\utils\deprecation.py",
 
line 119, in __call__
    response = self.process_response(request, response)
  File 
"C:\Users\phili\python\myclub\vert\lib\site-packages\django\middleware\clickjacking.py",
 
line 26, in process_response
    if response.get('X-Frame-Options') is not None:

Exception Type: AttributeError at /
Exception Value: 'tuple' object has no attribute 'get'

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7a861eb5-df71-4c0b-a239-82c28d18cb06n%40googlegroups.com.

Reply via email to