From e4afbd00127d65ce432e0ccdf8681f6ce4d304d7 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 15 Jun 2024 09:03:51 +0200 Subject: [PATCH] fix --- rowers/tasks.py | 4 +++- rowers/templates/user_messages.html | 15 ++++++++++++++- rowers/tests/testdata/testdata.tcx.gz | Bin 4001 -> 4000 bytes rowers/urls.py | 3 ++- rowers/views/userviews.py | 14 ++++++++++++++ 5 files changed, 33 insertions(+), 3 deletions(-) diff --git a/rowers/tasks.py b/rowers/tasks.py index d8e7716c..db9e0b9c 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -116,7 +116,9 @@ from requests_oauthlib import OAuth1, OAuth1Session import pandas as pd import polars as pl -from polars.exceptions import ColumnNotFoundError +from polars.exceptions import ( + ColumnNotFoundError, ComputeError + ) from django_rq import job diff --git a/rowers/templates/user_messages.html b/rowers/templates/user_messages.html index 576fcda7..60a01b82 100644 --- a/rowers/templates/user_messages.html +++ b/rowers/templates/user_messages.html @@ -3,7 +3,20 @@ {% block title %}Messages{% endblock %} {% block main %} -

{{ rower.user.first_name }}'s New Messages

+ + + +

{{ rower.user.first_name }}'s New Messages

+