Skip to content

Backward compatability issues: BaseConnectionHandler.all() got an unexpected keyword argument 'initialized_only' #1645

@ovsds

Description

@ovsds

In 3.5.0 used BaseConnectionHandler.all(initialized_only=True):
4b77ec7#diff-72ecd973e54107d746eff0947206cbdbe24cbb3c42216b00615e64d49ca70d73R216-R217

Which is only added in Django 4.1b1:
django/django@4f92cf8#diff-dbe1d4538efcca9f9a6157d5d3de919e0844835a7ccc698bb8c5d4a9eb06e274R75-R81

Which causes crash on any pageload if middleware debug_toolbar.middleware.DebugToolbarMiddleware is on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions