from django.contrib import admin
# from django.contrib.auth.models import SearchAdmin
# from django.contrib.auth.admin import SearchAdmin
from .models import SearchEngine 


class SearchEngineAdmin(admin.ModelAdmin):
    list_display = ('keyword', 'user', 'time', 'location', 'device', 'created', 'modified')
    search_fields = ('keyword', 'user')
    readonly_field = ('device', 'created')

    # filter_horizontal = ()
    list_filter = ('keyword', 'user', 'time', 'location', 'device', 'created', 'modified')
    # fieldsets = ()

admin.site.register(SearchEngine, SearchEngineAdmin)


# Register your models here.

da9f6b3ffee8f30de194249bd52ba5d34153e04b
<mask token>


class SearchEngineAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class SearchEngineAdmin(admin.ModelAdmin):
    list_display = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')
    search_fields = 'keyword', 'user'
    readonly_field = 'device', 'created'
    list_filter = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')


<mask token>

<mask token>


class SearchEngineAdmin(admin.ModelAdmin):
    list_display = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')
    search_fields = 'keyword', 'user'
    readonly_field = 'device', 'created'
    list_filter = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')


admin.site.register(SearchEngine, SearchEngineAdmin)

from django.contrib import admin
from .models import SearchEngine


class SearchEngineAdmin(admin.ModelAdmin):
    list_display = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')
    search_fields = 'keyword', 'user'
    readonly_field = 'device', 'created'
    list_filter = ('keyword', 'user', 'time', 'location', 'device',
        'created', 'modified')


admin.site.register(SearchEngine, SearchEngineAdmin)

from django.contrib import admin
# from django.contrib.auth.models import SearchAdmin
# from django.contrib.auth.admin import SearchAdmin
from .models import SearchEngine 


class SearchEngineAdmin(admin.ModelAdmin):
    list_display = ('keyword', 'user', 'time', 'location', 'device', 'created', 'modified')
    search_fields = ('keyword', 'user')
    readonly_field = ('device', 'created')

    # filter_horizontal = ()
    list_filter = ('keyword', 'user', 'time', 'location', 'device', 'created', 'modified')
    # fieldsets = ()

admin.site.register(SearchEngine, SearchEngineAdmin)


# Register your models here.
