From 40284da0567bcf7ae992f9df990dee486c95b471 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Wed, 25 Sep 2024 13:01:19 +0000 Subject: [PATCH] feedback --- codeforlife/user/filters/klass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeforlife/user/filters/klass.py b/codeforlife/user/filters/klass.py index 58b23eb6..10bfcc91 100644 --- a/codeforlife/user/filters/klass.py +++ b/codeforlife/user/filters/klass.py @@ -21,7 +21,7 @@ class ClassFilterSet(FilterSet): id_or_name = filters.CharFilter(method="id_or_name__method") def id_or_name__method(self, queryset: QuerySet[Class], _: str, value: str): - """Get classes where the id or the contain a substring.""" + """Get classes where the id or the name contain a substring.""" return queryset.filter( Q(access_code__icontains=value) | Q(name__icontains=value) )