Ce cours n'est pas ou seulement partiellement disponible dans la langue que vous avez choisie. Passez à
English
PUTTING THE PIECES TOGETHER TO LOOK INTO THE FUTURE
5.5
Getting ready for the future
Now that you have learned about all the elements needed to design sophisticated models, it is time to put those pieces together to have a look at possible futures.
Let’s start with a problem. As this course is named ‘Exploring Possible Futures’, we will make this our driving research question for the last model: what are possible future developments for our little example market?
Before deciding what type of model to use, think about how many possible layers of detail the research question still leaves open: are you only interested in the future or also in the path towards this future? What are your ‘choice variables’: costs, market prices or policies? And what policies would be the ones to include? What level of competition does your market possess?
All those follow-up questions help you to decide which model design to choose. This is the iteration between the problem and model phase we mentioned throughout the course.
For our final model example we have chosen to test the policy choices we discussed in the last chapters, namely CO2 taxes, nuclear premiums, and renewable subsidies. We will keep the model in the first-best world and stick with a competitive market framework. Namely, we will rely on the model discussed at the end of chapter 3, the first model exercise with a responsive demand.
Now we have a research question and a basic model layout. However, there isn’t much future development involved yet. The model of chapter 3 was just a one period model. To analyze the future you could adjust the underlying data to represent future expectations (eg, change the investment costs or fuel prices according to your assumption on future developments). That is the simplest way of setting up a ‘future’ model.
Let’s go a step further and aim to not only look into the future but link it to decisions we make today. There are again multiple ways how such a dynamic system can be modelled. For example, you could add a further model index to account for the flow of time (eg, years) and link each period with its preceding periods (eg, the capacity in year, $$t$$, is equal to the capacity in the previous year, $$t - 1$$, plus any additions, minus decommissioned units).
For our final model example, we follow this approach but implement it in a more simplified way: we design two individual models; one for today, one for the future, where the data input for the future-model depends on the results of the today-model. Namely, we assume that renewable investment costs will decrease in the future. The actual extent of this decrease will depend on the amount of renewables utilised today.
All other future parameters (demand dynamics, fuel costs, investment costs for fossil and nuclear plants) are unchanged. This allows us to trace back the future developments to the choices you will make (CO2, nuclear and renewable levels) and the renewable cost decrease.
The implementation is rather simple: the today-model is equivalent to the model of chapter 3 and solved for your choice variables. Given this market result the output of PV ($$q_{PV}^{today}$$) and wind ($$q_{wind}^{today}$$) generation is then used to calculate the future costs:
The total costs for wind or PV generation again increase more than proportionally with production. However, the increasing cost block is now adjusted for today’s renewable output with $$η$$ representing how large the impact of today’s output on future cost levels is. As today’s output ($$q_i^{today}$$) is known and fixed in the future, it is treated as an external variable for the model; in other words, we only adjust the cost parameters for the future model.
Now we have all the pieces together for an interesting model with some hopefully equally interesting results.
Afficher/masquer le contexte{'csrf_token': <SimpleLazyObject: 'Fhi8e4INMnblNJwcrja2uSD4F4wBYrj9KTIOn6A7EHSN5xCWYdbugRqQkQJsTkP1'>}
django.template.context_processors.debug
Afficher/masquer le contexte{}
django.template.context_processors.request
Afficher/masquer le contexte{'request': <ASGIRequest: GET '/fr/partnering-for-change-link-research-to-societal-challenges-46/knowledge-production-241/making-migration-safer-how-the-project-developed-1435'>}
django.contrib.auth.context_processors.auth
Afficher/masquer le contexte{'user': <SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c95e0ee50>>>, 'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c95e0ee50>>>)}
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(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 0x706cb63263d0>
/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 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(64)
if len(step_files_new) == 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(70)
if len(step_files_new) > 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(70)
if len(step_files_new) > 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(70)
if len(step_files_new) > 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(73)
context["course"] = self.object.chapter.course/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 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(73)
context["course"] = self.object.chapter.course/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 0x706cb63263d0>
/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])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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/defaulttags.py in render(314)
match = condition.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(890)
current = getattr(current, bit)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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 0x706cb63263d0>
/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/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/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)/app/project/lms_tales/models.py in meta(83)
+ ", ".join([author.name for author in self.get_course().authors.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])
1,4736
get
('waffle:4.1.0a156ed0e9d07cd12e770c8dca0575feb',)
{}
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/impersonate/middleware.py in process_request(27)
if '_impersonate' in request.session and request.user.is_authenticated:/usr/local/lib/python3.11/site-packages/django/contrib/sessions/backends/base.py in __contains__(50)
return key in self._session/usr/local/lib/python3.11/site-packages/django/contrib/sessions/backends/base.py in _get_session(192)
self._session_cache = self.load()/usr/local/lib/python3.11/site-packages/django/contrib/sessions/backends/cache.py in load(25)
session_data = self._cache.get(self.cache_key)
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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/loader_tags.py in render(208)
return template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(177)
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/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/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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])
0,2895
get
('waffle:4.1.0f1f61030d824f38a8926961f0e221887',)
{}
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1064)
output = self.filter_expression.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_step_number(107)
chapter_list = list(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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])
0,4919
get
('waffle:4.1.0e9e267545e7f919d987e2d016e67ed7e',)
{}
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/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 0x706cb63263d0>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
0,3114
get
('waffle:4.1.0e9e267545e7f919d987e2d016e67ed7e',)
{}
<django_redis.cache.RedisCache object at 0x706cb63263d0>
/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 0x706cb63263d0>
/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)