-
Notifications
You must be signed in to change notification settings - Fork 61
Error after django upgrade to 4.1 #55
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
Comments
2nd line |
I patched it with from django_pdb.middleware import PdbMiddleware
if not hasattr(PdbMiddleware, '_is_coroutine'):
setattr(PdbMiddleware, '_is_coroutine', False) But it’s better in the |
why did you not want to call super().init? |
@sebhaase I’m not a |
@sebhaase Can you propose a merge request? |
I suppose we should wait until "a maintainer/author" of this project shows up... |
One year later… Is this project still maintained? |
Issue HassenPy#55: Fix PdbMiddleware with django >= 4.1
AttributeError: 'PdbMiddleware' object has no attribute '_is_coroutine'
seems to be coming from not calling
super().__init__()
in thePdbMiddleware
I added line 41 - first line in the __init__functon:
that in turn calls
_async_check()
correctly from classdeprecation.MiddlewareMixin
The text was updated successfully, but these errors were encountered: