Commit 49f928e7 authored by Sli's avatar Sli

Apply suggestion to pedagogy/views.py

parent 07fc1014
Pipeline #1914 passed with stage
in 28 minutes and 32 seconds
...@@ -193,7 +193,7 @@ class UVListView(CanViewMixin, CanCreateUVFunctionMixin, ListView): ...@@ -193,7 +193,7 @@ class UVListView(CanViewMixin, CanCreateUVFunctionMixin, ListView):
if len(search) == 1: if len(search) == 1:
# It's a search with only one letter # 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) return queryset.filter(code__istartswith=search)
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment