Explorar el Código

Allow admin filter by video type

Colin Powell hace 2 años
padre
commit
cd51d1b8c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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",)