Skip to content

BaseConnectionHandler.all() Error #71

@JCMCGroup-Joshua

Description

@JCMCGroup-Joshua

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions