Use SQLite
This commit is contained in:
parent
942965d262
commit
20f38de611
8 changed files with 11 additions and 91 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue