mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
Apply suggestion to pedagogy/views.py
This commit is contained in:
parent
07fc1014be
commit
49f928e754
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user