Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

opencensus-ext-django does not support django 4.1 #1154

@giltal1

Description

@giltal1

Describe your environment.
Django = "4.1"
opencensus-ext-django = "0.7.6"

Steps to reproduce.
Run a normal Django application

What is the expected behavior?
Django works normally and opencensus middleware works normally

What is the actual behavior?
Middleware fails with the following error, causing the Django app to not work
'OpencensusMiddleware' object has no attribute '_is_coroutine'

Additional context.
The init method does not call super() and therefore the middleware fails. please add a call to super()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions