Bislang haben wir die Psychotherapie vor allem aus einer empirischen und theoretischen Perspektive betrachtet. Aber ist das alles?
Was wäre, wenn die Wissenschaft herausfinden würde, dass Fastenkuren zu einer Abnahme von psychischen Störungen führen würden? Würden wir dann Patient*innen hungern lassen? Was machen wir, wenn eine Patient*in aus unserer Perspektive von einer Psychotherapie profitieren würde, aber diese Behandlung nicht will? Wie gehen wir damit um, dass wir zwar wissen, warum Psychotherapie wirkt, aber vielleicht nicht ganz genau, wie? Und ist eine wirksame Behandlung immer das gleiche wie eine gute Behandlung?
Zur Beantwortung dieser Fragen reicht eine rein empirische oder theoretische Perspektive nicht aus. Und wenn etwas nicht ausreicht, ist das oft ein Fall für die Ethik.
Ressource
Die Grundlage für den folgenden Podcast “Ethik in der Psychotherapie” ist das Buch Psychotherapieethik (Trachsel, Gaab & Biller-Andorno, 2018). Dort geht es vor allem um die Kapitel 2 und 9. Der Podcast ersetzt die Lektüre dieses Kapitels in keiner Weise, dessen Lektüre kann aber den Podcast ersetzen…
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'oZIprZhsLLC2lcjWHHP3MHD5KzJC8TzP9XmclvwC6vaBCbUZw7cMwlScNksFQ73e'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/histologie-12/muskulatur-allgemeine-histologie-42/skelettmuskel-quer-halsmuskel-255'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8ff1d1d0>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8ff1d1d0>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': True,
'available_languages': [('de', 'Deutsch')],
'course': <TalesCourse: Histologie>,
'course_contact': 'Prof. Dr. Udo M. Spornitz\r\n'
'\r\n'
'Email: [udo.spornitz@unibas.ch](mailto: '
'udo.spornitz@unibas.ch)\r\n'
'\r\n'
'Feedback zu diesem Kurs, den Präparaten, den '
'Informationsblättern etc. wird gerne vom Autor dieses '
'Projekts Prof. Dr. Udo M. Spornitz, per Mail '
'entgegengenommen.\r\n'
'\r\n'
'BITTE KEINE FRAGEN ALLGEMEINER NATUR, d.h. keine '
'Verständnisfragen zur allgemeinen und mikroskopischen '
'Anatomie. Wenden Sie sich für diese Fragen bitte an die '
'für Sie zuständigen Dozierenden oder konsultieren Sie die '
'entsprechenden Bücher der Histologie, Embryologie und '
'Anatomie. Dieses Projekt kann die Lektüre eines '
'Histologiebuches nicht ersetzen, ebenso wenig wie den '
'Besuch der relevanten Vorlesungen zu den einzelnen Themen.',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'talesstep': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9539a390>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'oZIprZhsLLC2lcjWHHP3MHD5KzJC8TzP9XmclvwC6vaBCbUZw7cMwlScNksFQ73e'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/histologie-12/muskulatur-allgemeine-histologie-42/skelettmuskel-quer-halsmuskel-255'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8ff1d1d0>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8ff1d1d0>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': True,
'available_languages': [('de', 'Deutsch')],
'course': <TalesCourse: Histologie>,
'course_contact': 'Prof. Dr. Udo M. Spornitz\r\n'
'\r\n'
'Email: [udo.spornitz@unibas.ch](mailto: '
'udo.spornitz@unibas.ch)\r\n'
'\r\n'
'Feedback zu diesem Kurs, den Präparaten, den '
'Informationsblättern etc. wird gerne vom Autor dieses '
'Projekts Prof. Dr. Udo M. Spornitz, per Mail '
'entgegengenommen.\r\n'
'\r\n'
'BITTE KEINE FRAGEN ALLGEMEINER NATUR, d.h. keine '
'Verständnisfragen zur allgemeinen und mikroskopischen '
'Anatomie. Wenden Sie sich für diese Fragen bitte an die '
'für Sie zuständigen Dozierenden oder konsultieren Sie die '
'entsprechenden Bücher der Histologie, Embryologie und '
'Anatomie. Dieses Projekt kann die Lektüre eines '
'Histologiebuches nicht ersetzen, ebenso wenig wie den '
'Besuch der relevanten Vorlesungen zu den einzelnen Themen.',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'talesstep': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9539a390>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'oZIprZhsLLC2lcjWHHP3MHD5KzJC8TzP9XmclvwC6vaBCbUZw7cMwlScNksFQ73e'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/histologie-12/muskulatur-allgemeine-histologie-42/skelettmuskel-quer-halsmuskel-255'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8ff1d1d0>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8ff1d1d0>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': True,
'available_languages': [('de', 'Deutsch')],
'course': <TalesCourse: Histologie>,
'course_contact': 'Prof. Dr. Udo M. Spornitz\r\n'
'\r\n'
'Email: [udo.spornitz@unibas.ch](mailto: '
'udo.spornitz@unibas.ch)\r\n'
'\r\n'
'Feedback zu diesem Kurs, den Präparaten, den '
'Informationsblättern etc. wird gerne vom Autor dieses '
'Projekts Prof. Dr. Udo M. Spornitz, per Mail '
'entgegengenommen.\r\n'
'\r\n'
'BITTE KEINE FRAGEN ALLGEMEINER NATUR, d.h. keine '
'Verständnisfragen zur allgemeinen und mikroskopischen '
'Anatomie. Wenden Sie sich für diese Fragen bitte an die '
'für Sie zuständigen Dozierenden oder konsultieren Sie die '
'entsprechenden Bücher der Histologie, Embryologie und '
'Anatomie. Dieses Projekt kann die Lektüre eines '
'Histologiebuches nicht ersetzen, ebenso wenig wie den '
'Besuch der relevanten Vorlesungen zu den einzelnen Themen.',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'talesstep': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9539a390>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'oZIprZhsLLC2lcjWHHP3MHD5KzJC8TzP9XmclvwC6vaBCbUZw7cMwlScNksFQ73e'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/histologie-12/muskulatur-allgemeine-histologie-42/skelettmuskel-quer-halsmuskel-255'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8ff1d1d0>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8ff1d1d0>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': True,
'available_languages': [('de', 'Deutsch')],
'course': <TalesCourse: Histologie>,
'course_contact': 'Prof. Dr. Udo M. Spornitz\r\n'
'\r\n'
'Email: [udo.spornitz@unibas.ch](mailto: '
'udo.spornitz@unibas.ch)\r\n'
'\r\n'
'Feedback zu diesem Kurs, den Präparaten, den '
'Informationsblättern etc. wird gerne vom Autor dieses '
'Projekts Prof. Dr. Udo M. Spornitz, per Mail '
'entgegengenommen.\r\n'
'\r\n'
'BITTE KEINE FRAGEN ALLGEMEINER NATUR, d.h. keine '
'Verständnisfragen zur allgemeinen und mikroskopischen '
'Anatomie. Wenden Sie sich für diese Fragen bitte an die '
'für Sie zuständigen Dozierenden oder konsultieren Sie die '
'entsprechenden Bücher der Histologie, Embryologie und '
'Anatomie. Dieses Projekt kann die Lektüre eines '
'Histologiebuches nicht ersetzen, ebenso wenig wie den '
'Besuch der relevanten Vorlesungen zu den einzelnen Themen.',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'talesstep': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9539a390>}
{'block': <Block Node: header. Contents: [<TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"components/header.html"'>>, <TextNode: '\n '>]>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'oZIprZhsLLC2lcjWHHP3MHD5KzJC8TzP9XmclvwC6vaBCbUZw7cMwlScNksFQ73e'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/histologie-12/muskulatur-allgemeine-histologie-42/skelettmuskel-quer-halsmuskel-255'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8ff1d1d0>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8ff1d1d0>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': True,
'available_languages': [('de', 'Deutsch')],
'course': <TalesCourse: Histologie>,
'course_contact': 'Prof. Dr. Udo M. Spornitz\r\n'
'\r\n'
'Email: [udo.spornitz@unibas.ch](mailto: '
'udo.spornitz@unibas.ch)\r\n'
'\r\n'
'Feedback zu diesem Kurs, den Präparaten, den '
'Informationsblättern etc. wird gerne vom Autor dieses '
'Projekts Prof. Dr. Udo M. Spornitz, per Mail '
'entgegengenommen.\r\n'
'\r\n'
'BITTE KEINE FRAGEN ALLGEMEINER NATUR, d.h. keine '
'Verständnisfragen zur allgemeinen und mikroskopischen '
'Anatomie. Wenden Sie sich für diese Fragen bitte an die '
'für Sie zuständigen Dozierenden oder konsultieren Sie die '
'entsprechenden Bücher der Histologie, Embryologie und '
'Anatomie. Dieses Projekt kann die Lektüre eines '
'Histologiebuches nicht ersetzen, ebenso wenig wie den '
'Besuch der relevanten Vorlesungen zu den einzelnen Themen.',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'talesstep': <TalesStep: Skelettmuskel, quer (Halsmuskel)>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9539a390>}
{'block': <Block Node: sidebar-nav. Contents: [<TextNode: '\n <nav id="sid'>, <django.template.library.SimpleNode object at 0x706c956a6350>, <TextNode: '>\n '>, <django.templatetags.i18n.TranslateNode object at 0x706c94bb7a90>, <TextNode: '</span>\n '>, <IfNode>, <TextNode: '\n '>, <django.template.library.SimpleNode object at 0x706c8fee6990>, <TextNode: '>\n '>, <django.templatetags.i18n.TranslateNode object at 0x706c94bb4210>, <TextNode: '</span>\n '>, <Block Node: navigation. Contents: [<TextNode: '\n '>]>, <TextNode: '\n </div>\n '>]>}
{'block': <Block Node: navigation. Contents: [<TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"components/sidebar-navigation.html"'>>, <TextNode: '\n'>]>}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/library.py in render(237)
output = self.func(*resolved_args, **resolved_kwargs)/app/project/lms_base/templatetags/utils.py in get_next_step(128)
return step.get_next(published_only=True)/app/project/lms_base/models.py in get_next(249)
return self._get_neighbour_step(is_next=True, published_only=published_only)/app/project/lms_base/models.py in _get_neighbour_step(201)
step = self.__class__.next_previous_manager.get_next_previous(/app/project/lms_base/models.py in get_next_previous(71)
return qs.first()/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(40)
self.collect_invalidations()/usr/local/lib/python3.11/site-packages/cachalot/panels.py in collect_invalidations(52)
for cache_key, timestamp in cache.get_many(
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django/contrib/redirects/middleware.py in process_response(33)
r = Redirect.objects.get(site=current_site, old_path=full_path)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/library.py in render(237)
output = self.func(*resolved_args, **resolved_kwargs)/usr/local/lib/python3.11/site-packages/rules/templatetags/rules.py in has_perm(18)
return user.has_perm(perm, obj)/usr/local/lib/python3.11/site-packages/django/contrib/auth/models.py in has_perm(480)
return _user_has_perm(self, perm, obj=obj)/usr/local/lib/python3.11/site-packages/django/contrib/auth/models.py in _user_has_perm(220)
if backend.has_perm(user, perm, obj):/usr/local/lib/python3.11/site-packages/rules/permissions.py in has_perm(31)
return has_perm(perm, user, *args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/permissions.py in has_perm(23)
return permissions.test_rule(name, *args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/rulesets.py in test_rule(6)
return name in self and self[name].test(*args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/predicates.py in test(172)
return bool(self._apply(*args))/usr/local/lib/python3.11/site-packages/rules/predicates.py in _apply(235)
result = self.fn(*callargs)/usr/local/lib/python3.11/site-packages/rules/predicates.py in OR(184)
return self._combine(other, operator.or_, args)/usr/local/lib/python3.11/site-packages/rules/predicates.py in _combine(206)
self_result = self._apply(*args)/usr/local/lib/python3.11/site-packages/rules/predicates.py in _apply(235)
result = self.fn(*callargs)/app/project/lms_tales/rules.py in is_in_group(48)
for owner in course.owner.all():/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/library.py in render(237)
output = self.func(*resolved_args, **resolved_kwargs)/usr/local/lib/python3.11/site-packages/rules/templatetags/rules.py in has_perm(18)
return user.has_perm(perm, obj)/usr/local/lib/python3.11/site-packages/django/contrib/auth/models.py in has_perm(480)
return _user_has_perm(self, perm, obj=obj)/usr/local/lib/python3.11/site-packages/django/contrib/auth/models.py in _user_has_perm(220)
if backend.has_perm(user, perm, obj):/usr/local/lib/python3.11/site-packages/rules/permissions.py in has_perm(31)
return has_perm(perm, user, *args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/permissions.py in has_perm(23)
return permissions.test_rule(name, *args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/rulesets.py in test_rule(6)
return name in self and self[name].test(*args, **kwargs)/usr/local/lib/python3.11/site-packages/rules/predicates.py in test(172)
return bool(self._apply(*args))/usr/local/lib/python3.11/site-packages/rules/predicates.py in _apply(235)
result = self.fn(*callargs)/usr/local/lib/python3.11/site-packages/rules/predicates.py in OR(184)
return self._combine(other, operator.or_, args)/usr/local/lib/python3.11/site-packages/rules/predicates.py in _combine(206)
self_result = self._apply(*args)/usr/local/lib/python3.11/site-packages/rules/predicates.py in _apply(235)
result = self.fn(*callargs)/app/project/lms_tales/rules.py in is_in_group(48)
for owner in course.owner.all():/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(21)
self.object = self.get_object()/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get_object(53)
obj = queryset.get()/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
20,6205
get
('waffle:4.1.0f1f61030d824f38a8926961f0e221887',)
{}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/waffle/templatetags/waffle_tags.py in render(36)
if self.condition(context.get('request', None), name):/usr/local/lib/python3.11/site-packages/waffle/__init__.py in flag_is_active(19)
flag = get_waffle_flag_model().get(flag_name)/usr/local/lib/python3.11/site-packages/waffle/models.py in get(52)
cached = cache.get(cache_key)
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1064)
output = self.filter_expression.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_step_number(107)
chapter_list = list(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
0,3661
get
('waffle:4.1.0e9e267545e7f919d987e2d016e67ed7e',)
{}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/waffle/templatetags/waffle_tags.py in render(36)
if self.condition(context.get('request', None), name):/usr/local/lib/python3.11/site-packages/waffle/__init__.py in flag_is_active(19)
flag = get_waffle_flag_model().get(flag_name)/usr/local/lib/python3.11/site-packages/waffle/models.py in get(52)
cached = cache.get(cache_key)
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(320)
if match:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(70)
if len(step_files_new) > 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
0,9164
get
('waffle:4.1.0e9e267545e7f919d987e2d016e67ed7e',)
{}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/waffle/templatetags/waffle_tags.py in render(36)
if self.condition(context.get('request', None), name):/usr/local/lib/python3.11/site-packages/waffle/__init__.py in flag_is_active(19)
flag = get_waffle_flag_model().get(flag_name)/usr/local/lib/python3.11/site-packages/waffle/models.py in get(52)
cached = cache.get(cache_key)
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)