mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-01 23:38:29 -04:00
merge seeds and crawls apps
This commit is contained in:
parent
4c25e90378
commit
65afd405b1
15 changed files with 168 additions and 224 deletions
archivebox/search
|
@ -1,10 +1,11 @@
|
|||
__package__ = 'archivebox.search'
|
||||
|
||||
from django.contrib import messages
|
||||
from django.contrib import admin
|
||||
|
||||
from archivebox.search import query_search_index
|
||||
|
||||
class SearchResultsAdminMixin:
|
||||
class SearchResultsAdminMixin(admin.ModelAdmin):
|
||||
def get_search_results(self, request, queryset, search_term: str):
|
||||
"""Enhances the search queryset with results from the search backend"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue