Use SQLite

This commit is contained in:
Joakim Hellsén 2024-03-28 02:58:22 +01:00
commit 20f38de611
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
8 changed files with 11 additions and 91 deletions

View file

@ -461,6 +461,8 @@ class SearchView(View):
if not query:
return FeedsView().get(request)
# TODO(TheLovinator): #20 Search more fields
# https://github.com/TheLovinator1/FeedVault/issues/20
feeds: BaseManager[Feed] = Feed.objects.filter(feed_url__icontains=query).order_by("-created_at")[:100]
context = {