Sfoglia il codice sorgente

Allow admin filter by video type

Colin Powell 2 anni fa
parent
commit
cd51d1b8c8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      videos/admin.py

+ 1 - 1
videos/admin.py

@@ -20,7 +20,7 @@ class VideoAdmin(admin.ModelAdmin):
         "episode_number",
         "imdb_id",
     )
-    list_filter = ("year", "tv_series")
+    list_filter = ("year", "tv_series", "video_type")
     ordering = ("-created",)