- Add dj41.patch for Django 4.1 compatibility OBS-URL: https://build.opensuse.org/request/show/1008081 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-opentracing?expand=0&rev=7
13 lines
517 B
Diff
13 lines
517 B
Diff
diff --git a/django_opentracing/middleware.py b/django_opentracing/middleware.py
|
|
index bcfba42..718073e 100644
|
|
--- a/django_opentracing/middleware.py
|
|
+++ b/django_opentracing/middleware.py
|
|
@@ -29,6 +29,7 @@ class OpenTracingMiddleware(MiddlewareMixin):
|
|
self._init_tracing()
|
|
self._tracing = settings.OPENTRACING_TRACING
|
|
self.get_response = get_response
|
|
+ self._is_coroutine = None
|
|
|
|
def _init_tracing(self):
|
|
if getattr(settings, 'OPENTRACING_TRACER', None) is not None:
|