瀏覽代碼

[scrobbles] Clean up inline admin

Colin Powell 1 年之前
父節點
當前提交
06277f21de
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      vrobbler/apps/scrobbles/admin.py

+ 9 - 1
vrobbler/apps/scrobbles/admin.py

@@ -26,7 +26,15 @@ class ScrobbleInline(admin.TabularInline):
         "web_page",
         "user",
     )
-    exclude = ("scrobble_log",)
+    exclude = (
+        "scrobble_log",
+        "timezone",
+        "book_koreader_hash",
+        "book_page_data",
+        "book_pages_read",
+        "videogame_save_data",
+        "videogame_screenshot",
+    )
 
 
 class ImportBaseAdmin(admin.ModelAdmin):