mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 13:46:05 +00:00
Apply suggestion to pedagogy/views.py
This commit is contained in:
1 parent
07fc1014be
commit
49f928e754
1 file changed
+1
-1
+1
-1
@@ -193,7 +193,7 @@ class UVListView(CanViewMixin, CanCreateUVFunctionMixin, ListView):
|
||||
|
||||
if len(search) == 1:
|
||||
# It's a search with only one letter
|
||||
# Hastack doesn't work well with only one letter
|
||||
# Haystack doesn't work well with only one letter
|
||||
return queryset.filter(code__istartswith=search)
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user