feat: application screenshots added, and file size calculated

This commit is contained in:
Денис Братусев committed 2026-10-28 12:54:47 +03:00
1 parent 196d1e2ed7
commit 62d9ad1965
7 files changed
+180 -3

No files matched your search

+2 -1
View File
@@ -8,13 +8,14 @@ from .models import Game, Screenshot
class GameAdmin(admin.ModelAdmin):
list_display = (
"title",
"author_name",
"version",
"status",
"created_by",
"updated_at",
)
list_filter = ("status", "unity_version")
search_fields = ("title", "created_by__username")
search_fields = ("title", "author_name", "created_by__username")
ordering = ("-updated_at",)