mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
using new import/export module
This commit is contained in:
@@ -13,7 +13,7 @@ class BaseAutocomplete(autocomplete.Select2QuerySetView):
|
||||
qs = self.model.objects.all()
|
||||
|
||||
if self.q:
|
||||
qs = qs.filter(name__istartswith=self.q)
|
||||
qs = qs.filter(name__icontains=self.q)
|
||||
|
||||
return qs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user