mirror of
https://github.com/bratusev07/skb-market.git
synced 2026-12-05 05:09:44 +00:00
feat: application screenshots added, and file size calculated
This commit is contained in:
1 parent
196d1e2ed7
commit
62d9ad1965
7 files changed
+180
-3
No files matched your search
+2
-1
@@ -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",)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user