Traceback (most recent call last):
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/contrib/auth/mixins.py", line 104, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/resint/views.py", line 232, in get
file = live_document.get_current_file()
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/resint/models.py", line 188, in get_current_file
self.update()
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/chronos/models.py", line 1235, in update
"chronos/substitutions_print.html", self.get_context_data()
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/chronos/models.py", line 1200, in get_context_data
context = get_substitutions_context_data(
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/chronos/util/chronos_helpers.py", line 172, in get_substitutions_context_data
next_day = TimePeriod.get_next_relevant_day(next_day + timedelta(days=1))