<filename>prework/admin.py
from django.contrib import admin

from .models import Video


@admin.register(Video)
class VideoAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title', )}
    fields = ('title', 'video_link', 'created', 'subject', 'unit', ('class_date', 'video_num'), 'slug', 'notes')
    list_display = ('title', 'created', 'subject', 'unit', 'full_video_id')
    list_filter = ['created', 'subject', 'unit']
    search_fields = ['title']


<filename>prework/admin.py
from django.contrib import admin

from .models import Video


@admin.register(Video)
class VideoAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title', )}
    fields = ('title', 'video_link', 'created', 'subject', 'unit', ('class_date', 'video_num'), 'slug', 'notes')
    list_display = ('title', 'created', 'subject', 'unit', 'full_video_id')
    list_filter = ['created', 'subject', 'unit']
    search_fields = ['title']

