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
DjangoIntegration conflict with MiddlewareMixin & TemplateView #661
Comments
Sorry for the slow response, I will look into this now |
Sorry, can't reproduce. Can you provide a template that exhibits this issue? |
Closing due to lack of activity, please respond so we can continue investigating |
@untitaker I've got the same error. With custom middleware with process_template_response and sentry enabled |
Can you provide a minimal self-contained example so I can reproduce this? I
already tried it once and clearly there is more to it than what is
described in the issue.
…On Fri, Jul 31, 2020, 06:15 Mikhail Podgurskiy ***@***.***> wrote:
@untitaker <https://github.com/untitaker> I've got the same error. With
custom middleware with process_template_response and sentry enabled
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#661 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGMPRJ7MOBCF2YUJISBQ2TR6JANDANCNFSM4LW27BKA>
.
|
Here is the simple gist. I've added only new style custom middleware with process_template_response method
Access to http://127.0.0.1:8000/
Without |
excellent, thank you |
yes, so the crucial information missing from op was that this can only be reproduced using 3.1, which is not what you get with |
0.16.3 is out which fixes the problem. |
Not fixed in 0.16.2 |
This issue was resolved for me upgrading to 1.5.4 (I had 0.15 before) |
django version: 3.0
sentry-sdk version: 0.14.3
My project has a middleware using Django's
django.utils.deprecation.MiddlewareMixin
. Visiting a view which subclassesdjango.views.generic.TemplateView
while Sentry is active results in the following exception:The following classes & url config should be sufficient to demonstrate the problem:
The text was updated successfully, but these errors were encountered: