<filename>django_dvbboxes/admin.py<gh_stars>1-10
from django.contrib import admin
from .models import Media


class MediaAdmin(admin.ModelAdmin):
    search_fields = ['name', 'filename']
    list_display = ['name', 'filename']

admin.site.register(Media, MediaAdmin)

<filename>django_dvbboxes/admin.py<gh_stars>1-10
from django.contrib import admin
from .models import Media


class MediaAdmin(admin.ModelAdmin):
    search_fields = ['name', 'filename']
    list_display = ['name', 'filename']

admin.site.register(Media, MediaAdmin)
