Add lensman_type for GroupPhotoInfoAdmin's list_filter

Brightcells 7 anni fa
parent
commit
337cad7306
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      group/admin.py

+ 1 - 1
group/admin.py

@@ -19,7 +19,7 @@ class GroupUserInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
19 19
 
20 20
 class GroupPhotoInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
21 21
     list_display = ('photo_id', 'group_id', 'user_id', 'nickname', 'photo_path', 'has_watermark', 'photo_thumbnail_path', 'photo_thumbnail2_path', 'status', 'created_at', 'updated_at')
22
-    list_filter = ('has_watermark', 'photo_from', 'status')
22
+    list_filter = ('has_watermark', 'photo_from', 'lensman_type', 'status')
23 23
 
24 24
 
25 25
 class GroupPhotoOrderInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):