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

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

Open
giltal1 opened this issue Aug 17, 2022 · 1 comment
Open

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

giltal1 opened this issue Aug 17, 2022 · 1 comment
Labels

Comments

@giltal1
Copy link

giltal1 commented Aug 17, 2022

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()

@JeremyVriens
Copy link
Contributor

Hi @giltal1 since we are experiencing the same issue and you didn't mention picking it up, I have created the following PR: #1159

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

No branches or pull requests

2 participants