AttributeError at / 'tuple' object has no attribute 'get'

When i started my Django server, it`s not success. Error:

  AttributeError at /
'tuple' object has no attribute 'get'
Request Method: GET
Request URL:    http://127.0.0.1:8000/
Django Version: 4.1.5
Exception Type: AttributeError
Exception Value:    
'tuple' object has no attribute 'get'
Exception Location: C:\Users\Admin-16.DESKTOP-PDDKOLS\AppData\Local\Programs\Python\Python39\lib\site-packages\django\middleware\clickjacking.py, line 26, in process_response
Raised during:  weather.views.index
Python Executable:  C:\Users\Admin-16.DESKTOP-PDDKOLS\AppData\Local\Programs\Python\Python39\python.exe
Python Version: 3.9.0
Python Path:    
['C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\Desktop\\Погода\\WeatherApp',
 'C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\AppData\\Local\\Programs\\Python\\Python39\\python39.zip',
 'C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\AppData\\Local\\Programs\\Python\\Python39\\DLLs',
 'C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\AppData\\Local\\Programs\\Python\\Python39\\lib',
 'C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\AppData\\Local\\Programs\\Python\\Python39',
 'C:\\Users\\Admin-16.DESKTOP-PDDKOLS\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages']
Server time:    Tue, 31 Jan 2023 10:09:23 +0000
Back to Top