Ce cours n'est pas ou seulement partiellement disponible dans la langue que vous avez choisie. Passez à
English
Exploring Possible Futures
Modelling in Environmental and Energy Economics
Mis à jour en janvier 2025
What will our future look like? Will we continue burning fossil fuels or will we live in a 100% renewable world? How can we address climate change and what policies do we need to implement?
This online course explores these concerns, using models in environmental and energy economics. You will learn how to design models, how to interpret and use results to make informed decisions, and how to use models to assess energy and environmental policies. We will provide you with model examples to make you familiar with aspects of economic modelling and state-of-the-art research on current debates in energy policy.
In this course you will cover several topics:
Climate change and energy policies.
Evidence-based recommendations on current problems of energy policy.
Models in environmental economics and energy economics.
Building blocks of models and possible applications.**
Informed decisions by the results of different modelling approaches.
“Weeks”, “Chapters” and invitation to comment
Please note that this course was originally published by the University of Basel on FutureLearn. FutureLearn is a global platform offering online courses that encourage social learning, including discussions between learners. On FutureLearn, we added comment sections to certain steps and measured course durations in weeks rather than in chapters.
Here on Tales, we measure courses in chapters. These chapters are equivalent to the “weeks” on FutureLearn. So when you watch a video here and hear an educator talking about “weeks”, you’ll know that this was because the videos were geared towards FutureLearn’s set-up.
Another difference to FutureLearn is the comment option. The educators in the videos will sometimes invite you to discuss something in the comments section. If you don’t see a comment option here on Tales, then the course is not open to comments at this moment in time. But for certain periods of time announced in advance, this course will be open to comments.
The good news is that either way, you can freely access the course and all of its contents at any time. If the comment section is not open, why not write down your comments as you go through the course? That way you can keep track of how your knowledge changes. And should you be able to participate in one of the authors’ face-to-face courses, you can then refer back to your comments and discuss them with your peers.
Afficher/masquer le contexte{'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: '
"'iBU5DHqM28WnHfJ3BGHWRACFVqrLxH5gD1Rdy5jstcIBx351bUYOLE88Zmoe5Kpx'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/exploring-possible-futures-44/firm-perspective-227/reflection-feedback-from-policy-to-consumer-demand-1285'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8fa3ad90>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8fa3ad90>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': False,
'available_languages': [('en', 'Anglais')],
'course': <TalesCourse: Exploring Possible Futures>,
'course_contact': '',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'object': <TalesStep: Reflection: Feedback from policy to consumer demand>,
'talesstep': <TalesStep: Reflection: Feedback from policy to consumer demand>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c9579bed0>}
Processeurs de contexte
django.template.context_processors.csrf
Afficher/masquer le contexte{'csrf_token': <SimpleLazyObject: 'S8GLBlOYVnpBHMR5QSUFngMgyOP0kCUeSvU7927gLQWD4lAAmb58UMxLssQLxOeC'>}
django.template.context_processors.debug
Afficher/masquer le contexte{}
django.template.context_processors.request
Afficher/masquer le contexte{'request': <ASGIRequest: GET '/de/from-ink-to-sound-32/from-sound-to-ink-early-forms-of-musical-notation-188/notational-systems-the-chart-of-neumes-944'>}
django.contrib.auth.context_processors.auth
Afficher/masquer le contexte{'user': <SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c95826b90>>>, 'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c95826b90>>>)}
<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/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(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_previous_step(105)
return step.get_previous(published_only=True)/app/project/lms_base/models.py in get_previous(255)
return self._get_neighbour_step(is_next=False, 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(72)
return qs.last()/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(58)
response = cache.get(CACHE_KEY, None)
<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/course_views.py in get(42)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(108)
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])
<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(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/course_views.py in get(42)
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/course_views.py in get_context_data(95)
context["first_step"] = self.get_first_step(/app/project/lms_tales/views/course_views.py in get_first_step(71)
).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(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/course_views.py in get(42)
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/course_views.py in get_context_data(95)
context["first_step"] = self.get_first_step(/app/project/lms_tales/views/course_views.py in get_first_step(76)
).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(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(118)
step_list = list(self.chapter.published_steps.all().order_by("order"))/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])
1,7865
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(321)
return 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(194)
len_values = len(values)/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(321)
return 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(238)
nodelist.append(node.render_annotated(context))/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(890)
current = getattr(current, bit)/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(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])
4,8518
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)
1,5928
get
('active_scheduled_messages',)
{}
<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__(167)
self.process_scheduled_messages(request)/app/project/lms_tales/middleware.py in process_scheduled_messages(175)
scheduled_messages = self.get_active_messages()/app/project/lms_tales/middleware.py in get_active_messages(191)
cached_messages = cache.get("active_scheduled_messages")