Dieser Kurs ist nicht oder nur teilweise in der von Ihnen gewählten Sprache verfügbar. Wechseln Sie zu
English
SYSTEM PERSPECTIVE
2.6
Social costs and welfare
Real world problems often come with more than one important criterion we want to consider. If we want to account for those complex decisions we need concepts that help us translate these trade-offs into something we can include in a model.
There are two main ways of handling trade-offs in energy and environmental economics models: using social costs or social welfare as the objective.
Social costs aim to account for direct and indirect costs and derive the overall burden for the society. For example, besides the direct costs associated with investing in and operating power plants, the negative effects of carbon or other emissions on human health and the environment are also accounted for.
The social welfare approach extends the social cost logic by also accounting for the benefit derived from utilising different supply and consumption options. For example, we weigh the benefit from consuming more energy with the total costs associated with generating that energy.
Both approaches are well suited to design optimization models.
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'EbIxCoo6opJer7ghMgL4b1HMLygi1EDy7MxL6jmHKRFPEYMRqXYISnCN1drtCsTD'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/literature-in-the-digital-age-11/hyper-reading-social-reading-33/review-your-understanding-5-173'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8f708150>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8f708150>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': False,
'available_languages': [('en', 'Englisch')],
'course': <TalesCourse: Literature in the Digital Age>,
'course_contact': 'Prof. Dr. Philipp Schweighauser \r\n'
'Departement Sprach- und Literaturwissenschaften \r\n'
'Nadelberg 4 \r\n'
'4051 Basel\r\n'
'\r\n'
'Phone: [+41 (0)61 207 27 84](tel:+41612072784) \r\n'
'Email: '
'[ph.schweighauser@unibas.ch](mailto:ph.schweighauser@unibas.ch)\r\n'
'\r\n'
'Philipp Schweighauser is Associate Professor and Head of '
'American and General Literatures at the University of '
'Basel. He is the author of The Noises of American '
'Literature, 1890 - 1985: Toward a History of Literary '
'Acoustics (University Press of Florida, 2006) and '
'Beautiful Deceptions: European Aesthetics, the Early '
'American Novel, and Illusionist Art (University of '
'Virginia Press, 2016).',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Review your understanding>,
'talesstep': <TalesStep: Review your understanding>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c959a16d0>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'EbIxCoo6opJer7ghMgL4b1HMLygi1EDy7MxL6jmHKRFPEYMRqXYISnCN1drtCsTD'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/literature-in-the-digital-age-11/hyper-reading-social-reading-33/review-your-understanding-5-173'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8f708150>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8f708150>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': False,
'available_languages': [('en', 'Englisch')],
'course': <TalesCourse: Literature in the Digital Age>,
'course_contact': 'Prof. Dr. Philipp Schweighauser \r\n'
'Departement Sprach- und Literaturwissenschaften \r\n'
'Nadelberg 4 \r\n'
'4051 Basel\r\n'
'\r\n'
'Phone: [+41 (0)61 207 27 84](tel:+41612072784) \r\n'
'Email: '
'[ph.schweighauser@unibas.ch](mailto:ph.schweighauser@unibas.ch)\r\n'
'\r\n'
'Philipp Schweighauser is Associate Professor and Head of '
'American and General Literatures at the University of '
'Basel. He is the author of The Noises of American '
'Literature, 1890 - 1985: Toward a History of Literary '
'Acoustics (University Press of Florida, 2006) and '
'Beautiful Deceptions: European Aesthetics, the Early '
'American Novel, and Illusionist Art (University of '
'Virginia Press, 2016).',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Review your understanding>,
'talesstep': <TalesStep: Review your understanding>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c959a16d0>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'EbIxCoo6opJer7ghMgL4b1HMLygi1EDy7MxL6jmHKRFPEYMRqXYISnCN1drtCsTD'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/literature-in-the-digital-age-11/hyper-reading-social-reading-33/review-your-understanding-5-173'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8f708150>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8f708150>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': False,
'available_languages': [('en', 'Englisch')],
'course': <TalesCourse: Literature in the Digital Age>,
'course_contact': 'Prof. Dr. Philipp Schweighauser \r\n'
'Departement Sprach- und Literaturwissenschaften \r\n'
'Nadelberg 4 \r\n'
'4051 Basel\r\n'
'\r\n'
'Phone: [+41 (0)61 207 27 84](tel:+41612072784) \r\n'
'Email: '
'[ph.schweighauser@unibas.ch](mailto:ph.schweighauser@unibas.ch)\r\n'
'\r\n'
'Philipp Schweighauser is Associate Professor and Head of '
'American and General Literatures at the University of '
'Basel. He is the author of The Noises of American '
'Literature, 1890 - 1985: Toward a History of Literary '
'Acoustics (University Press of Florida, 2006) and '
'Beautiful Deceptions: European Aesthetics, the Early '
'American Novel, and Illusionist Art (University of '
'Virginia Press, 2016).',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Review your understanding>,
'talesstep': <TalesStep: Review your understanding>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c959a16d0>}
Context zeigen{'False': False, 'None': None, 'True': True}
{'CI_COMMIT_SHORT_SHA': '0809bd77',
'CI_COMMIT_TAG': '',
'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'DEPLOY_ENV': 'staging',
'LANGUAGES': '<<languages>>',
'LANGUAGE_BIDI': False,
'LANGUAGE_CODE': 'de',
'MEDIA_URL': '/media/',
'RELEASE_NAME': '',
'STATIC_URL': '/static/',
'TIME_ZONE': 'Europe/Zurich',
'csrf_token': '<SimpleLazyObject: '
"'EbIxCoo6opJer7ghMgL4b1HMLygi1EDy7MxL6jmHKRFPEYMRqXYISnCN1drtCsTD'>",
'messages': <FallbackStorage: request=<ASGIRequest: GET '/de/literature-in-the-digital-age-11/hyper-reading-social-reading-33/review-your-understanding-5-173'>>,
'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8f708150>>>),
'request': '<<request>>',
'user': '<SimpleLazyObject: <SimpleLazyObject: '
'<django.contrib.auth.models.AnonymousUser object at '
'0x706c8f708150>>>'}
{'active_courseruns': [],
'active_courserunsteps': [],
'active_language_available': False,
'available_languages': [('en', 'Englisch')],
'course': <TalesCourse: Literature in the Digital Age>,
'course_contact': 'Prof. Dr. Philipp Schweighauser \r\n'
'Departement Sprach- und Literaturwissenschaften \r\n'
'Nadelberg 4 \r\n'
'4051 Basel\r\n'
'\r\n'
'Phone: [+41 (0)61 207 27 84](tel:+41612072784) \r\n'
'Email: '
'[ph.schweighauser@unibas.ch](mailto:ph.schweighauser@unibas.ch)\r\n'
'\r\n'
'Philipp Schweighauser is Associate Professor and Head of '
'American and General Literatures at the University of '
'Basel. He is the author of The Noises of American '
'Literature, 1890 - 1985: Toward a History of Literary '
'Acoustics (University Press of Florida, 2006) and '
'Beautiful Deceptions: European Aesthetics, the Early '
'American Novel, and Illusionist Art (University of '
'Virginia Press, 2016).',
'files': '<<queryset of lms_tales.TalesStepFileNew>>',
'is_editor': False,
'object': <TalesStep: Review your understanding>,
'talesstep': <TalesStep: Review your understanding>,
'view': <lms_tales.views.step_views.StepDetails object at 0x706c959a16d0>}
{'block': <Block Node: header. Contents: [<TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"components/header.html"'>>, <TextNode: '\n '>]>}
Context zeigen{'request': <ASGIRequest: GET '/de/allergies-when-the-immune-system-backfires-41/eczemas-and-drug-hypersensitivity-220/self-reflection-1-1239'>}
django.contrib.auth.context_processors.auth
Context zeigen{'user': <SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8fec2a50>>>, 'perms': PermWrapper(<SimpleLazyObject: <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x706c8fec2a50>>>)}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(40)
self.collect_invalidations()/usr/local/lib/python3.11/site-packages/cachalot/panels.py in collect_invalidations(52)
for cache_key, timestamp in cache.get_many(
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(58)
response = cache.get(CACHE_KEY, None)
2,2858
get
('waffle:4.1.0a156ed0e9d07cd12e770c8dca0575feb',)
{}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(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 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(21)
self.object = self.get_object()/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get_object(53)
obj = queryset.get()/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/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 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1064)
output = self.filter_expression.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_step_number(118)
step_list = list(self.chapter.published_steps.all().order_by("order"))/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(64)
response = function(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in view(104)
return self.dispatch(request, *args, **kwargs)/app/project/lms_tales/views/mixins.py in dispatch(32)
return super().dispatch(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/base.py in dispatch(143)
return handler(request, *args, **kwargs)/app/project/lms_tales/views/step_views.py in get(37)
response = super().get(request, *args, **kwargs)/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py in get(109)
context = self.get_context_data(object=self.object)/app/project/lms_tales/views/step_views.py in get_context_data(70)
if len(step_files_new) > 0:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(320)
if match:/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(321)
return nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(194)
len_values = len(values)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(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 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(541)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in render(314)
match = condition.eval(context)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in eval(60)
return func(context, self.first, self.second)/usr/local/lib/python3.11/site-packages/django/template/smartif.py in <lambda>(103)
"is not": infix(10, lambda context, x, y: x.eval(context) is not y.eval(context)),/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py in eval(877)
return self.value.resolve(context, ignore_failures=True)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(715)
obj = self.var.resolve(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in resolve(847)
value = self._resolve_lookup(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in _resolve_lookup(914)
current = current()/app/project/lms_tales/models.py in get_absolute_url(96)
str(self.chapter.course.slug),/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(37)
return original(compiler, *args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in inner(96)
return _get_result_or_execute_query(/usr/local/lib/python3.11/site-packages/cachalot/monkey_patch.py in _get_result_or_execute_query(46)
data = cache.get_many(table_cache_keys + [cache_key])
0,4791
get
('waffle:4.1.0e9e267545e7f919d987e2d016e67ed7e',)
{}
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_patched_render(41)
return old_render(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in render(114)
self.content = self.rendered_content/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py in runner(1788)
return sentry_patched_function(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/templates.py in rendered_content(77)
return real_rendered_content.fget(self)/usr/local/lib/python3.11/site-packages/django/template/response.py in rendered_content(92)
return template.render(context, self._request)/usr/local/lib/python3.11/site-packages/django/template/backends/django.py in render(61)
return self.template.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(175)
return self._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(157)
return compiled_parent._render(context)/usr/local/lib/python3.11/site-packages/django/test/utils.py in instrumented_test_render(112)
return self.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py in render(63)
result = block.nodelist.render(context)/usr/local/lib/python3.11/site-packages/django/template/base.py in render(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in <listcomp>(1005)
return SafeString("".join([node.render_annotated(context) for node in self]))/usr/local/lib/python3.11/site-packages/django/template/base.py in render_annotated(966)
return self.render(context)/usr/local/lib/python3.11/site-packages/waffle/templatetags/waffle_tags.py in render(36)
if self.condition(context.get('request', None), name):/usr/local/lib/python3.11/site-packages/waffle/__init__.py in flag_is_active(19)
flag = get_waffle_flag_model().get(flag_name)/usr/local/lib/python3.11/site-packages/waffle/models.py in get(52)
cached = cache.get(cache_key)
<django_redis.cache.RedisCache object at 0x706cb8b22990>
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in run(101)
return _run_old_run_func()/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py in _run_old_run_func(94)
return old_run_func(self, *a, **kw)/usr/local/lib/python3.11/concurrent/futures/thread.py in _worker(83)
work_item.run()/usr/local/lib/python3.11/concurrent/futures/thread.py in run(58)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/corsheaders/middleware.py in __call__(56)
result = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in middleware(32)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/allauth/account/middleware.py in middleware(36)
response = get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/simple_history/middleware.py in middleware(41)
return get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
return self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/app/project/lms_tales/middleware.py in __call__(168)
response = self.get_response(request)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/middleware.py in __call__(177)
return f(*args, **kwargs)/usr/local/lib/python3.11/site-packages/cachalot/panels.py in process_request(41)
return super(CachalotPanel, self).process_request(request)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in __call__(244)
current_executor.run_until_future(call_result)/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run_until_future(81)
work_item.run()/usr/local/lib/python3.11/site-packages/asgiref/current_thread_executor.py in run(40)
result = self.fn(*self.args, **self.kwargs)/usr/local/lib/python3.11/site-packages/asgiref/sync.py in thread_handler(522)
return func(*args, **kwargs)/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py in sentry_wrapped_callback(90)
return callback(request, *args, **kwargs)/app/project/utils/decorators.py in apply_cache(72)
cache.set(CACHE_KEY, response.render(), ttl)