Jelajahi Sumber

[scrobbles] Clean up inline admin

Colin Powell 1 tahun lalu
induk
melakukan
06277f21de
1 mengubah file dengan 9 tambahan dan 1 penghapusan
  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):