thumbnails

This commit is contained in:
Your Name 2026-06-29 03:19:47 -04:00
parent 5861113aeb
commit caa2aa6b9b
10 changed files with 403 additions and 19 deletions

View file

@ -5,12 +5,14 @@ from .models import Project, Revision
@admin.register(Project)
class ProjectAdmin(admin.ModelAdmin):
list_display = ("name", "owner", "fps", "updated")
list_filter = ("owner",)
list_display = ("name", "owner", "fps", "thumbnail_status", "updated")
list_filter = ("owner", "thumbnail_status")
search_fields = ("name",)
filter_horizontal = ("collaborators",)
readonly_fields = ("created", "updated")
readonly_fields = ("thumbnail_status", "thumbnail_manifest", "thumbnail_error",
"created", "updated")
fields = ("name", "owner", "collaborators", "otio", "clip", "fps", "scene",
"thumbnail_status", "thumbnail_manifest", "thumbnail_error",
"created", "updated")