Skip to content
New issue

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

BaseConnectionHandler.all() Error #71

Open
JCMCGroup-Joshua opened this issue Sep 14, 2023 · 0 comments
Open

BaseConnectionHandler.all() Error #71

JCMCGroup-Joshua opened this issue Sep 14, 2023 · 0 comments

Comments

@JCMCGroup-Joshua
Copy link

When i try and use the system it says
BaseConnectionHandler.all() got an unexpected keyword argument 'initialized_only'

Environment:

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

Django Version: 3.2
Python Version: 3.10.11
Installed Applications:
['admin_interface',
'colorfield',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'students.apps.StudentsConfig',
'course.apps.CourseConfig',
'debug_toolbar',
'teachers.apps.TeachersConfig',
'django.contrib.humanize']
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',
'debug_toolbar.middleware.DebugToolbarMiddleware']

Traceback (most recent call last):
File "C:\Users\J.Akester\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Users\J.Akester\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\debug_toolbar\middleware.py", line 55, in call
panel.enable_instrumentation()
File "C:\Users\J.Akester\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\debug_toolbar\panels\cache.py", line 194, in enable_instrumentation
for cache in caches.all(initialized_only=True):

Exception Type: TypeError at /
Exception Value: BaseConnectionHandler.all() got an unexpected keyword argument 'initialized_only'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant