from django.contrib import admin
from .models import SearchResult

# Register your models here.
class SearchResultAdmin(admin.ModelAdmin):
    fields = ["query", "heading", "url", "text"]

admin.site.register(SearchResult, SearchResultAdmin)
[((8, 0, 8, 52), 'django.contrib.admin.site.register', 'admin.site.register', ({(8, 20, 8, 32): 'SearchResult', (8, 34, 8, 51): 'SearchResultAdmin'}, {}), '(SearchResult, SearchResultAdmin)', False, 'from django.contrib import admin\n')]